rev:木箱类型增加木箱结构字段

This commit is contained in:
2024-11-04 16:09:44 +08:00
parent 2e389000c4
commit 4c376ee70b
3 changed files with 35 additions and 4 deletions

View File

@@ -65,5 +65,8 @@ public class MdpbBoxtype implements Serializable {
*/
private String expend_width;
/**
* 箱体结构
*/
private String box_structure;
}

View File

@@ -371,7 +371,11 @@ public class LashManageServiceImpl implements LashManageService {
throw new BadRequestException("第一次捆扎数量不能为空!");
}
result.put("bundleTimes", boxTypeDao.getLash_num_one());
// 木箱结构
if (ObjectUtil.isEmpty(boxTypeDao.getBox_structure())) {
throw new BadRequestException("木箱结构不能为空!");
}
result.put("box_structure", boxTypeDao.getBox_structure());
return result;
}