优化
This commit is contained in:
@@ -611,7 +611,7 @@
|
|||||||
FROM
|
FROM
|
||||||
pdm_bi_workorder wo
|
pdm_bi_workorder wo
|
||||||
WHERE
|
WHERE
|
||||||
wo.`status` < 40
|
wo.`status` < 50
|
||||||
AND is_delete = '0'
|
AND is_delete = '0'
|
||||||
OPTION 输入.begin_time <> ""
|
OPTION 输入.begin_time <> ""
|
||||||
wo.planstart_time like 输入.begin_time
|
wo.planstart_time like 输入.begin_time
|
||||||
@@ -682,7 +682,7 @@
|
|||||||
LEFT JOIN md_me_materialbase mb ON mb.material_id = wo.material_id
|
LEFT JOIN md_me_materialbase mb ON mb.material_id = wo.material_id
|
||||||
LEFT JOIN md_me_producmaterialext ext ON ext.material_id = wo.material_id
|
LEFT JOIN md_me_producmaterialext ext ON ext.material_id = wo.material_id
|
||||||
WHERE
|
WHERE
|
||||||
wo.`status` < 40
|
wo.`status` < 50
|
||||||
AND
|
AND
|
||||||
wo.is_delete = '0'
|
wo.is_delete = '0'
|
||||||
OPTION 输入.begin_time <> ""
|
OPTION 输入.begin_time <> ""
|
||||||
|
|||||||
Reference in New Issue
Block a user