代码修改
This commit is contained in:
@@ -89,6 +89,7 @@ public class KilnServiceImpl implements KilnService {
|
||||
if (ObjectUtil.isEmpty(vehicle_code)) throw new BadRequestException("载具编码不能为空");
|
||||
if (ObjectUtil.isEmpty(material_id)) throw new BadRequestException("物料不能为空");
|
||||
if (ObjectUtil.isEmpty(ivt_qty)) throw new BadRequestException("库存数不能为空");
|
||||
if (ObjectUtil.isEmpty(jsonObject.getString("struct_id"))) throw new BadRequestException("仓位不能为空,请添加仓位");
|
||||
if (area_type.equals("01")) { // 入窑缓存库那边是压制,出窑是烧制
|
||||
JSONObject workprocedureObj = workProcedureTab.query("workprocedure_code = '02'").uniqueResult(0);
|
||||
if (ObjectUtil.isEmpty(workprocedureObj)) throw new BadRequestException("没有压制工序");
|
||||
|
||||
Reference in New Issue
Block a user