fix:粉料计划排产需求字段维护

This commit is contained in:
zhangzhiqiang
2023-01-09 15:56:13 +08:00
parent 67dfef894a
commit 696549d5f1

View File

@@ -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