fix:新增B1分切上料位置

This commit is contained in:
zhouz
2024-08-08 18:19:26 +08:00
parent cfe99c4f5c
commit a54e0e447b

View File

@@ -289,7 +289,7 @@ public class FeedingServiceImpl implements FeedingService {
throw new BadRequestException("该点位上不存在母卷!");
}
if (cool_jo.getString("product_area").equals("B1")) {
if (cool_jo.getString("product_area").equals("B1") && cool_jo.getString("point_type").equals("3")) {
if (ObjectUtil.isNotEmpty(cool_jo) && cool_jo.getString("point_type").equals("4")) {
JSONObject cut_jo = WQLObject.getWQLObject("st_ivt_cutpointivt").query("full_point_code = '" + next_point_code + "'").uniqueResult(0);
//起点为分切缓存位,终点为分切机
@@ -425,8 +425,8 @@ public class FeedingServiceImpl implements FeedingService {
}
}
AbstractAcsTask task = new CoolCutTask();
String task_id = task.createTask(jo);
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);