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