Pārlūkot izejas kodu

原始运单 默认不开启,增加开关控制,如果不开启,那就模拟返回成功呗

mashengyi 7 mēneši atpakaļ
vecāks
revīzija
042e04a886

+ 1 - 1
src/main/java/com/jkcredit/invoice/service/nocar/impl/NoCarBillWayServiceImpl.java

@@ -339,7 +339,7 @@ public class NoCarBillWayServiceImpl extends ServiceImpl<NoCarWaybillMapper, NoC
                     noCarWayBill.setHisFlag(0);
                     noCarWaybillMapperImprt.insertImport(noCarWayBill);
                     RespR respR = noCarService.noCarWaybillEnd(noCarWayBill);
-                    noCarWayBill.setBillNum(batchNumber);
+                  //  noCarWayBill.setBillNum(batchNumber);
                     if (respR.getCode() == 1) {
                         noCarWaybillMapperImprt.updateBillway(-2, respR.getMsg(), noCarWayBill);
                         stringBuffer.append("#").append(noCarWayBill.getBillNum()).append(":").append(respR.getMsg()).append("#");

+ 3 - 3
src/main/java/com/jkcredit/invoice/service/nocar/impl/NoCarCompanyMangerOperImpl.java

@@ -199,9 +199,9 @@ public class NoCarCompanyMangerOperImpl extends ServiceImpl<NoCarCompanyMangerMa
         if (noCarCompanyManger.getStatus().equals(CommonConst.FOR)) {
             return new RespR(false, "证明文件已上传,请误重复上传");
         }
-        if (!noCarCompanyManger.getStatus().equals(CommonConst.THREE)) {
-            return new RespR(false, "无法上传证明文件,开票经办人未上传或者处于经办人调整过程中");
-        }
+        //if (!noCarCompanyManger.getStatus().equals(CommonConst.THREE)) {
+        //    return new RespR(false, "无法上传证明文件,开票经办人未上传或者处于经办人调整过程中");
+        //}
         OperatorEvidenceRequest operatorEvidenceRequest = new OperatorEvidenceRequest();
         operatorEvidenceRequest.setCompanyNum(noCarCompanyManger.getCompanyNum());
         operatorEvidenceRequest.setOperatorMobile(noCarCompanyManger.getOperatorMobile());