From 8be188f2c24c660daf5f8ddc04a5cecb4c9d485e Mon Sep 17 00:00:00 2001 From: lulz1 Date: Wed, 12 Jun 2024 13:33:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E5=85=AC=E5=8F=B8=E5=90=8D=E8=BF=9B=E8=A1=8C=E7=AE=A1=E6=8E=A7?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chint/domain/service/LegDomainService.java | 4 ++-- src/test/java/com/chint/CTripTest.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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")); } }