rev:木箱类型增加木箱结构字段
This commit is contained in:
@@ -65,5 +65,8 @@ public class MdpbBoxtype implements Serializable {
|
||||
*/
|
||||
private String expend_width;
|
||||
|
||||
|
||||
/**
|
||||
* 箱体结构
|
||||
*/
|
||||
private String box_structure;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user