fix:新增B1分切上料位置
This commit is contained in:
@@ -289,7 +289,7 @@ public class FeedingServiceImpl implements FeedingService {
|
|||||||
throw new BadRequestException("该点位上不存在母卷!");
|
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")) {
|
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);
|
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();
|
CoolCutTask coolCutTask = SpringContextHolder.getBean(CoolCutTask.class);
|
||||||
String task_id = task.createTask(jo);
|
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user