fix:粉料计划排产需求字段维护
This commit is contained in:
@@ -465,11 +465,11 @@
|
|||||||
LEFT JOIN sys_dept dept ON dept.`code` = plan.plan_org_code
|
LEFT JOIN sys_dept dept ON dept.`code` = plan.plan_org_code
|
||||||
WHERE
|
WHERE
|
||||||
plan.`status` = '01'
|
plan.`status` = '01'
|
||||||
OPTION 输入.begin_time <> ""
|
OPTION 输入.begin_date <> ""
|
||||||
plan.planstart_date >= 输入.begin_time
|
plan.planstart_date >= 输入.begin_date
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
OPTION 输入.end_time <> ""
|
OPTION 输入.end_date <> ""
|
||||||
plan.planstart_date <= 输入.end_time
|
plan.planstart_date <= 输入.end_date
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
OPTION 输入.org_ids <> ""
|
OPTION 输入.org_ids <> ""
|
||||||
dept.dept_id in 输入.org_ids
|
dept.dept_id in 输入.org_ids
|
||||||
|
|||||||
Reference in New Issue
Block a user