demand: tms-运输管理-货物组批次-分批逻辑修复
This commit is contained in:
parent
c60b058d05
commit
7a0d331d6d
@ -246,10 +246,10 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
|
||||
boolean isBatchParcelQtyEqual = Objects.equals(matchingBatch.getTotalParcelQty(),
|
||||
itemDtl.getBatchParcelQty());
|
||||
|
||||
if (!isBatchWeightEqual || !isBatchVolumeEqual || !isBatchParcelQtyEqual) {
|
||||
throw new EmisBizError(EmisBizErrorType.FAIL,
|
||||
itemDtl.getBillCode() + "的批次重量、体积、件数与批次" + matchingBatch.getBatchNo() + "不一致,请检查后重新录入");
|
||||
}
|
||||
// if (!isBatchWeightEqual || !isBatchVolumeEqual || !isBatchParcelQtyEqual) {
|
||||
// throw new EmisBizError(EmisBizErrorType.FAIL,
|
||||
// itemDtl.getBillCode() + "的批次重量、体积、件数与批次" + matchingBatch.getBatchNo() + "不一致,请检查后重新录入");
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user