Ver código fonte

优化代码提交

mashengyi 3 anos atrás
pai
commit
315c2b0236

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

@@ -424,13 +424,13 @@ public class NoCarServiceImpl implements NoCarService{
             noCarWaybillMapper.updateByBillNumTimeRes(noCarWayBill);
             return new RespR(false,"失败,承运时长超96小时");
         }*/
-        WaybillEndRequest waybillEndRequest = new WaybillEndRequest();
+        WaybillHistoryEndRequest waybillEndRequest = new WaybillHistoryEndRequest();
         String companyNum = paramService.getParamsByParamName("REQUEST_COMPANY_NUM").getParamValue();
         waybillEndRequest.setCompanyNum(companyNum);
         waybillEndRequest.setNum(noCarWayBill1.getBillNum());
         waybillEndRequest.setRealDestAddr(noCarWayBill1.getDestAddr());
         waybillEndRequest.setEndTime(DateUtil.dateFormate(noCarWayBill1.getPredictEndTime()));
-        RespR<WaybillEndResponse> waybillEndResponseRespR = noCarInterface.waybillEnd(waybillEndRequest);
+        RespR<WaybillHistoryEndResponse> waybillEndResponseRespR = noCarInterface.waybillHistoryEnd(waybillEndRequest);
         if(waybillEndResponseRespR.getCode() == 1){
             noCarWayBill1.setBillwayStatus(-3);
             noCarWayBill1.setFailReason(waybillEndResponseRespR.getMsg());