Browse Source

2024/11/26

master
qiezi 1 year ago
parent
commit
33b2e46479
  1. 4
      src/main/java/com/spring/modules/shipment/service/impl/ShipmentRollServiceImpl.java

4
src/main/java/com/spring/modules/shipment/service/impl/ShipmentRollServiceImpl.java

@ -89,10 +89,10 @@ public class ShipmentRollServiceImpl extends ServiceImpl<ShipmentRollMapper, Shi
try {
value = Integer.parseInt(packageNum);
} catch (Exception e) {
throw new RuntimeException(rollData.getPartNo() + "的最小包装数量格式不正确");
throw new RuntimeException(rollData.getPartNo() + "的出货有效期天数格式不正确");
}
if (value <= 0) {
throw new RuntimeException(rollData.getPartNo() + "的最小包装数量格式维护不正确");
throw new RuntimeException(rollData.getPartNo() + "的出货有效期天数维护不正确");
}
// 获取箱子缓存
ShipmentBox box = shipmentBoxService.lambdaQuery()

Loading…
Cancel
Save