fix: 修复根据公司名进行管控的bug

This commit is contained in:
lulz1 2024-06-12 13:33:32 +08:00
parent 709dddb52a
commit 8be188f2c2
2 changed files with 3 additions and 2 deletions

View File

@ -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());
}

View File

@ -610,5 +610,6 @@ public class CTripTest {
@Test
void pullCarRecord() {
cTripOrderRecordAutoSave.cTripCarRecordAutoSave(Optional.ofNullable("202405"));
// cTripOrderRecordAutoSave.cTripFlightRecordAutoSave(Optional.ofNullable("202405"));
}
}