修改
This commit is contained in:
@@ -288,7 +288,7 @@ public class RawFoilServiceImpl implements RawFoilService {
|
|||||||
JSONObject raw_jo = whereJson.getJSONObject("raw_jo");
|
JSONObject raw_jo = whereJson.getJSONObject("raw_jo");
|
||||||
WQLObject rawTab = WQLObject.getWQLObject("PDM_BI_RawFoilWorkOrder"); // 生箔工单表
|
WQLObject rawTab = WQLObject.getWQLObject("PDM_BI_RawFoilWorkOrder"); // 生箔工单表
|
||||||
|
|
||||||
JSONObject jsonRaw = rawTab.query("mfg_order_name = '" + raw_jo.getString("mfg_order_name") + "'").uniqueResult(0);
|
JSONObject jsonRaw = rawTab.query("container_name = '" + raw_jo.getString("container_name") + "'").uniqueResult(0);
|
||||||
if (!StrUtil.equals(jsonRaw.getString("status"), "03")) throw new BadRequestException("工单不为确认下卷");
|
if (!StrUtil.equals(jsonRaw.getString("status"), "03")) throw new BadRequestException("工单不为确认下卷");
|
||||||
|
|
||||||
//查询该母卷号对应的任务
|
//查询该母卷号对应的任务
|
||||||
|
|||||||
@@ -388,7 +388,7 @@ public class ShippingServiceImpl implements ShippingService {
|
|||||||
if (StrUtil.isEmpty(qzzno)) {
|
if (StrUtil.isEmpty(qzzno)) {
|
||||||
throw new BadRequestException("气涨轴不能为空!");
|
throw new BadRequestException("气涨轴不能为空!");
|
||||||
}
|
}
|
||||||
JSONArray plan = WQLObject.getWQLObject("pdm_bi_slittingproductionplan").query("qzzno = '" + qzzno + "'").getResultJSONArray(0);
|
JSONArray plan = WQLObject.getWQLObject("pdm_bi_slittingproductionplan").query("qzzno = '" + qzzno + "' AND is_delete = '0' AND is_child_tz_ok = '1' AND status = '01'").getResultJSONArray(0);
|
||||||
if (ObjectUtil.isEmpty(plan)) {
|
if (ObjectUtil.isEmpty(plan)) {
|
||||||
throw new BadRequestException("未找到气涨轴【" + qzzno + "】对应的分切计划!");
|
throw new BadRequestException("未找到气涨轴【" + qzzno + "】对应的分切计划!");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,6 +53,8 @@
|
|||||||
ivt.empty_point_status = '02'
|
ivt.empty_point_status = '02'
|
||||||
AND
|
AND
|
||||||
ivt.full_point_status = '01'
|
ivt.full_point_status = '01'
|
||||||
|
AND
|
||||||
|
ivt.is_used = '1'
|
||||||
|
|
||||||
AND NOT EXISTS (
|
AND NOT EXISTS (
|
||||||
SELECT
|
SELECT
|
||||||
@@ -87,8 +89,9 @@
|
|||||||
ST_IVT_CoolPointIvt ivt
|
ST_IVT_CoolPointIvt ivt
|
||||||
WHERE
|
WHERE
|
||||||
ivt.full_point_status = '01'
|
ivt.full_point_status = '01'
|
||||||
|
AND
|
||||||
AND NOT EXISTS (
|
ivt.is_used = '1'
|
||||||
|
AND NOT EXISTS (
|
||||||
SELECT
|
SELECT
|
||||||
*
|
*
|
||||||
FROM
|
FROM
|
||||||
@@ -195,7 +198,6 @@
|
|||||||
OPTION 输入.container_name <> ""
|
OPTION 输入.container_name <> ""
|
||||||
der.container_name = 输入.container_name
|
der.container_name = 输入.container_name
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
|
|
||||||
ENDSELECT
|
ENDSELECT
|
||||||
ENDPAGEQUERY
|
ENDPAGEQUERY
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ public class SlittingproductionplanServiceImpl implements Slittingproductionplan
|
|||||||
String is_parent_ok = MapUtil.getStr(whereJson, "is_parent_ok");
|
String is_parent_ok = MapUtil.getStr(whereJson, "is_parent_ok");
|
||||||
String is_child_tz_ok = MapUtil.getStr(whereJson, "is_child_tz_ok");
|
String is_child_tz_ok = MapUtil.getStr(whereJson, "is_child_tz_ok");
|
||||||
String is_child_ps_ok = MapUtil.getStr(whereJson, "is_child_ps_ok");
|
String is_child_ps_ok = MapUtil.getStr(whereJson, "is_child_ps_ok");
|
||||||
|
String is_call = MapUtil.getStr(whereJson, "is_call");
|
||||||
String begin_time = MapUtil.getStr(whereJson, "begin_time");
|
String begin_time = MapUtil.getStr(whereJson, "begin_time");
|
||||||
String end_time = MapUtil.getStr(whereJson, "end_time");
|
String end_time = MapUtil.getStr(whereJson, "end_time");
|
||||||
|
|
||||||
@@ -68,6 +69,7 @@ public class SlittingproductionplanServiceImpl implements Slittingproductionplan
|
|||||||
map.put("is_parent_ok", is_parent_ok);
|
map.put("is_parent_ok", is_parent_ok);
|
||||||
map.put("is_child_tz_ok", is_child_tz_ok);
|
map.put("is_child_tz_ok", is_child_tz_ok);
|
||||||
map.put("is_child_ps_ok", is_child_ps_ok);
|
map.put("is_child_ps_ok", is_child_ps_ok);
|
||||||
|
map.put("is_call", is_call);
|
||||||
if (ObjectUtil.isNotEmpty(resource_name)) map.put("resource_name","%"+resource_name+"%");
|
if (ObjectUtil.isNotEmpty(resource_name)) map.put("resource_name","%"+resource_name+"%");
|
||||||
if (ObjectUtil.isNotEmpty(parent_container_name)) map.put("parent_container_name","%"+parent_container_name+"%");
|
if (ObjectUtil.isNotEmpty(parent_container_name)) map.put("parent_container_name","%"+parent_container_name+"%");
|
||||||
if (ObjectUtil.isNotEmpty(container_name)) map.put("container_name","%"+container_name+"%");
|
if (ObjectUtil.isNotEmpty(container_name)) map.put("container_name","%"+container_name+"%");
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
输入.is_child_ps_ok TYPEAS s_string
|
输入.is_child_ps_ok TYPEAS s_string
|
||||||
输入.is_child_tz_ok TYPEAS s_string
|
输入.is_child_tz_ok TYPEAS s_string
|
||||||
输入.is_parent_ok TYPEAS s_string
|
输入.is_parent_ok TYPEAS s_string
|
||||||
|
输入.is_call TYPEAS s_string
|
||||||
|
|
||||||
|
|
||||||
[临时表]
|
[临时表]
|
||||||
@@ -102,6 +103,10 @@
|
|||||||
plan.is_child_ps_ok = 输入.is_child_ps_ok
|
plan.is_child_ps_ok = 输入.is_child_ps_ok
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
|
|
||||||
|
OPTION 输入.is_call <> ""
|
||||||
|
plan.is_call = 输入.is_call
|
||||||
|
ENDOPTION
|
||||||
|
|
||||||
OPTION 输入.begin_time <> ""
|
OPTION 输入.begin_time <> ""
|
||||||
plan.manufacture_date >= 输入.begin_time
|
plan.manufacture_date >= 输入.begin_time
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
|
|||||||
Binary file not shown.
@@ -315,7 +315,7 @@ public class InHotTask extends AbstractAcsTask {
|
|||||||
} else {
|
} else {
|
||||||
json.put("priority", priority_jo.getString("value"));
|
json.put("priority", priority_jo.getString("value"));
|
||||||
}
|
}
|
||||||
json.put("acs_task_type", "8");
|
json.put("acs_task_type", "6");
|
||||||
tab.insert(json);
|
tab.insert(json);
|
||||||
task_id = json.getString("task_id");
|
task_id = json.getString("task_id");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -526,6 +526,7 @@ const defaultForm = {
|
|||||||
is_parent_ok: null,
|
is_parent_ok: null,
|
||||||
is_child_tz_ok: null,
|
is_child_tz_ok: null,
|
||||||
is_child_ps_ok: null,
|
is_child_ps_ok: null,
|
||||||
|
is_call: null,
|
||||||
qzzno: null
|
qzzno: null
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
Reference in New Issue
Block a user