This commit is contained in:
2023-02-22 11:33:13 +08:00
parent 867e837726
commit d1d54295ea
3 changed files with 5 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ public class InServiceImpl implements InService {
throw new BadRequestException("未查询到对应的分切机!"); throw new BadRequestException("未查询到对应的分切机!");
} }
if (!StrUtil.equals(cut_row.getString("point_code"),cut_ivt.getString("point_code"))){ if (!StrUtil.equals(cut_row.getString("resource_name"), cut_ivt.getString("ext_code"))) {
throw new BadRequestException("请选择和分切计划相同的设备点位进行上空轴!"); throw new BadRequestException("请选择和分切计划相同的设备点位进行上空轴!");
} }

View File

@@ -108,7 +108,7 @@ public class OutServiceImpl implements OutService {
} }
if (!StrUtil.equals(rows.getJSONObject(0).getString("resource_name"), cut_ivt.getString("ext_code"))) { if (!StrUtil.equals(rows.getJSONObject(0).getString("resource_name"), cut_ivt.getString("ext_code"))) {
throw new BadRequestException("请选择和分切计划相同的设备点位进行上空轴"); throw new BadRequestException("请选择和分切计划相同的设备点位进行下卷");
} }
String cut_qzzno = rows.getJSONObject(0).getString("qzzno"); String cut_qzzno = rows.getJSONObject(0).getString("qzzno");

View File

@@ -393,7 +393,7 @@ public class CutTrussTask extends AbstractAcsTask {
} }
//分切>输送线 子卷出站 //分切>输送线 子卷出站
if (form.getString("task_type").equals("010404")) { if (form.getString("task_type").equals("010404") && !json.getString("vehicle_code").equals("waste foil")) {
//更新出站气涨轴的分切计划状态 //更新出站气涨轴的分切计划状态
JSONArray plan_jo2 = WQLObject.getWQLObject("PDM_BI_SlittingProductionPlan").query("qzzno = '" + json.getString("vehicle_code") + "' AND is_child_tz_ok = '1' AND is_child_ps_ok = '1' AND is_delete = '0' AND status = '05'").getResultJSONArray(0); JSONArray plan_jo2 = WQLObject.getWQLObject("PDM_BI_SlittingProductionPlan").query("qzzno = '" + json.getString("vehicle_code") + "' AND is_child_tz_ok = '1' AND is_child_ps_ok = '1' AND is_delete = '0' AND status = '05'").getResultJSONArray(0);
if (ObjectUtil.isEmpty(plan_jo2)) { if (ObjectUtil.isEmpty(plan_jo2)) {