diff --git a/src/main/java/com/chint/domain/service/LegDomainService.java b/src/main/java/com/chint/domain/service/LegDomainService.java index 52ff5926..9d064e99 100644 --- a/src/main/java/com/chint/domain/service/LegDomainService.java +++ b/src/main/java/com/chint/domain/service/LegDomainService.java @@ -219,8 +219,8 @@ public class LegDomainService { SupplierProduct supplierProduct) { return supplierProduct.checkStandardLevelIfInUse(routeOrder.getStandardLevel()) && !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getSysCode()) - && !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getAccountCompany()) - && !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getAccountCompanyName()); + && !supplierProduct.checkCompanyIfNotUse(routeOrder.getApproveOrderNo().getAccountCompany()) + && !supplierProduct.checkCompanyIfNotUse(routeOrder.getApproveOrderNo().getAccountCompanyName()); } diff --git a/src/test/java/com/chint/CTripTest.java b/src/test/java/com/chint/CTripTest.java index d0449b84..79b68949 100644 --- a/src/test/java/com/chint/CTripTest.java +++ b/src/test/java/com/chint/CTripTest.java @@ -610,5 +610,6 @@ public class CTripTest { @Test void pullCarRecord() { cTripOrderRecordAutoSave.cTripCarRecordAutoSave(Optional.ofNullable("202405")); +// cTripOrderRecordAutoSave.cTripFlightRecordAutoSave(Optional.ofNullable("202405")); } }