fix:逻辑校验优化
This commit is contained in:
@@ -477,9 +477,6 @@ public class FeedingServiceImpl implements FeedingService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CoolCutTask coolCutTask = SpringContextHolder.getBean(CoolCutTask.class);
|
|
||||||
String task_id = coolCutTask.createTask(jo);
|
|
||||||
|
|
||||||
//查询该母卷号对应的生箔信息
|
//查询该母卷号对应的生箔信息
|
||||||
JSONObject raw_jo = WQLObject.getWQLObject("pdm_bi_rawfoilworkorder").query("container_name = '" + cool_jo.getString("container_name") + "'").uniqueResult(0);
|
JSONObject raw_jo = WQLObject.getWQLObject("pdm_bi_rawfoilworkorder").query("container_name = '" + cool_jo.getString("container_name") + "'").uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(raw_jo)) {
|
if (ObjectUtil.isEmpty(raw_jo)) {
|
||||||
@@ -491,6 +488,9 @@ public class FeedingServiceImpl implements FeedingService {
|
|||||||
throw new BadRequestException("未查询到物料:" + raw_jo.getString("product_name") + "基础信息!");
|
throw new BadRequestException("未查询到物料:" + raw_jo.getString("product_name") + "基础信息!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CoolCutTask coolCutTask = SpringContextHolder.getBean(CoolCutTask.class);
|
||||||
|
String task_id = coolCutTask.createTask(jo);
|
||||||
|
|
||||||
//生成半成品出库单据
|
//生成半成品出库单据
|
||||||
String currentUserId = SecurityUtils.getCurrentUserId();
|
String currentUserId = SecurityUtils.getCurrentUserId();
|
||||||
String currentUsername = SecurityUtils.getCurrentUsername();
|
String currentUsername = SecurityUtils.getCurrentUsername();
|
||||||
|
|||||||
Reference in New Issue
Block a user