소스 검색

无车优化,自有车接口返回

Administrator 1 년 전
부모
커밋
7abf55b868
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/jkcredit/invoice/service/lowerservice/impl/NoCarServiceImpl.java

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

@@ -682,7 +682,7 @@ public class NoCarServiceImpl implements NoCarService {
                 log.info("历史运单结束上传失败:NoCarServiceImpl.noCarHisWaybillEnd{},msg{}", noCarWayBillDb, waybillEndResponseRespR.getMsg());
 
                 return new RespR(false, waybillEndResponseRespR.getMsg());
-            } else if (waybillEndResponseRespR.getData()!=null && FOR.equals(waybillEndResponseRespR.getData().getInfo())) {
+            } else if ((!waybillEndResponseRespR.getMsg().contains("结束指令已上传")) && FOR.equals(waybillEndResponseRespR.getData().getInfo())) {
                 noCarWayBill.setBillwayStatus(4);
                 insertOrUpdateBillEnd(noCarWayBillDb);
                 log.info("历史运单结束上传失败:NoCarServiceImpl.noCarHisWaybillEnd{},msg{}", noCarWayBillDb, "运单已经超时,请拆分");