rev:优化
This commit is contained in:
@@ -68,16 +68,16 @@ public class LimitStorageRuleHandler extends Decisioner<StIvtStructattr, JSONObj
|
||||
Predicate<StIvtStructattr> eqLimt= stIvtStructattr -> {
|
||||
Boolean result = Boolean.TRUE;
|
||||
if (limits.contains("h")){
|
||||
result = result && stIvtStructattr.getH()>=vehicle.getH();
|
||||
result = result && stIvtStructattr.getH()==vehicle.getH();
|
||||
}
|
||||
if (limits.contains("w")){
|
||||
result = result && stIvtStructattr.getW()>=vehicle.getW();
|
||||
result = result && stIvtStructattr.getW()==vehicle.getW();
|
||||
}
|
||||
if (limits.contains("l")){
|
||||
result = result && stIvtStructattr.getL()>=vehicle.getL();
|
||||
result = result && stIvtStructattr.getL()==vehicle.getL();
|
||||
}
|
||||
if (limits.contains("weight")){
|
||||
result = result && stIvtStructattr.getWeight()>=vehicle.getWeight();
|
||||
result = result && stIvtStructattr.getWeight()==vehicle.getWeight();
|
||||
}
|
||||
return result;
|
||||
};
|
||||
|
||||
@@ -94,7 +94,7 @@ public class SyncErpBillsScheduleService {
|
||||
manualSyncData(mappingString, syncFormMapping.getForm_type(), syncFormMapping.getDtl_split(),code,startTime,endTime);
|
||||
}
|
||||
private void manualSyncData(String mappingJson, String formType, Boolean dtlSplit,String code,String start,String end) {
|
||||
//formType:SAL_SaleOrder code:JDSCLLD20241102,start:2024-11-11 12:00:00 end:2024-11-11 12:00:00
|
||||
//formType:SAL_SaleOrder code:JDSCLLD20241102,start:2024-11-11 12:00:00 end:2024-11-11 12:00:00
|
||||
boolean islock = lock.tryLock();
|
||||
try {
|
||||
if (islock) {
|
||||
|
||||
Reference in New Issue
Block a user