浏览代码

原始承运接口 增加企业编码

mashengyi 1 年之前
父节点
当前提交
b6e23fc55b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/jkcredit/invoice/service/lowerservice/impl/NoCarServiceImpl.java

+ 2 - 1
src/main/java/com/jkcredit/invoice/service/lowerservice/impl/NoCarServiceImpl.java

@@ -647,7 +647,8 @@ public class NoCarServiceImpl implements NoCarService {
         waybillOriginEndRequest.setNum(noCarWayBill.getBillNum());
         //如果调用上游测试环境, 默认自营平台 10000148
         //waybillOriginEndRequest.setCompanyNum("10000148");
-       waybillOriginEndRequest.setCompanyNum(noCarWayBill.getCompanyNum());
+        String companyNum = paramService.getParamsByParamName("REQUEST_COMPANY_NUM").getParamValue();
+        waybillOriginEndRequest.setCompanyNum(companyNum);
         waybillOriginEndRequest.setBase64Str(noCarWayBill.getBase64Str());
         waybillOriginEndRequest.setWaybillFileName(noCarWayBill.getWaybillFileName());
         if(noCarWayBill.getBase64Str() == null){