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