优化
This commit is contained in:
@@ -281,7 +281,7 @@ public class ProducetaskprocServiceImpl implements ProducetaskprocService {
|
|||||||
if (ObjectUtil.isEmpty(jsonObject)) {
|
if (ObjectUtil.isEmpty(jsonObject)) {
|
||||||
planProcTab.insert(JSONObject.parseObject(JSON.toJSONString(dto)));
|
planProcTab.insert(JSONObject.parseObject(JSON.toJSONString(dto)));
|
||||||
} else {
|
} else {
|
||||||
if (!StrUtil.equals(jsonObject.getString("is_proc"), "2")) {
|
if (StrUtil.equals(jsonObject.getString("is_proc"), "2")) {
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
//如果是生成状态则将当前记录删除,在重新插入
|
//如果是生成状态则将当前记录删除,在重新插入
|
||||||
|
|||||||
@@ -118,7 +118,6 @@
|
|||||||
LEFT JOIN md_pb_classstandard classstandard2 ON classstandard2.class_id = ext.product_series
|
LEFT JOIN md_pb_classstandard classstandard2 ON classstandard2.class_id = ext.product_series
|
||||||
LEFT JOIN PCS_IF_ProductPlanProc ProductPlanProc ON ProductPlanProc.plan_id = pp.plan_id
|
LEFT JOIN PCS_IF_ProductPlanProc ProductPlanProc ON ProductPlanProc.plan_id = pp.plan_id
|
||||||
WHERE
|
WHERE
|
||||||
|
|
||||||
1=1
|
1=1
|
||||||
OPTION 输入.status <> ""
|
OPTION 输入.status <> ""
|
||||||
pp.status = 输入.status
|
pp.status = 输入.status
|
||||||
|
|||||||
Reference in New Issue
Block a user