rev:打印纸管重量
This commit is contained in:
@@ -210,11 +210,11 @@ public class PrintTableTwoServiceImpl implements PrintTableTwoService {
|
||||
}
|
||||
|
||||
// 校验信息
|
||||
if (ObjectUtil.isEmpty(jsonPlan.getString("paper_weight"))) {
|
||||
throw new BadRequestException("子卷号:" + pcsn + "子管重量不能为空!(分切计划工单)");
|
||||
if (ObjectUtil.isEmpty(jsonPlan.getString("paper_weight")) || jsonPlan.getDoubleValue("paper_weight") == 0) {
|
||||
throw new BadRequestException("子卷号:" + pcsn + "纸管重量不能为空!(分切计划工单)");
|
||||
}
|
||||
if (ObjectUtil.isEmpty(subDao.getThickness_request()) || ObjectUtil.isEmpty(subDao.getWidth_standard())) {
|
||||
throw new BadRequestException("子卷号:" + pcsn + "规格不能为空!(子卷下线记录)");
|
||||
throw new BadRequestException("子卷号:" + pcsn + "规格不能为空或为0!(子卷下线记录)");
|
||||
}
|
||||
if (ObjectUtil.isEmpty(orderDao.getRollingType())) {
|
||||
throw new BadRequestException("子卷号:" + pcsn + "毛面/光面不能为空!(订单BOM记录)");
|
||||
|
||||
Reference in New Issue
Block a user