fix: 修复根据公司名进行管控的bug
This commit is contained in:
parent
709dddb52a
commit
8be188f2c2
|
@ -219,8 +219,8 @@ public class LegDomainService {
|
||||||
SupplierProduct supplierProduct) {
|
SupplierProduct supplierProduct) {
|
||||||
return supplierProduct.checkStandardLevelIfInUse(routeOrder.getStandardLevel())
|
return supplierProduct.checkStandardLevelIfInUse(routeOrder.getStandardLevel())
|
||||||
&& !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getSysCode())
|
&& !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getSysCode())
|
||||||
&& !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getAccountCompany())
|
&& !supplierProduct.checkCompanyIfNotUse(routeOrder.getApproveOrderNo().getAccountCompany())
|
||||||
&& !supplierProduct.checkSysCodeIfNotUse(routeOrder.getApproveOrderNo().getAccountCompanyName());
|
&& !supplierProduct.checkCompanyIfNotUse(routeOrder.getApproveOrderNo().getAccountCompanyName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -610,5 +610,6 @@ public class CTripTest {
|
||||||
@Test
|
@Test
|
||||||
void pullCarRecord() {
|
void pullCarRecord() {
|
||||||
cTripOrderRecordAutoSave.cTripCarRecordAutoSave(Optional.ofNullable("202405"));
|
cTripOrderRecordAutoSave.cTripCarRecordAutoSave(Optional.ofNullable("202405"));
|
||||||
|
// cTripOrderRecordAutoSave.cTripFlightRecordAutoSave(Optional.ofNullable("202405"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue