Преглед на файлове

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

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){