自定义报表优化处理
This commit is contained in:
@@ -41,13 +41,13 @@
|
||||
DISTINCT
|
||||
a.id,
|
||||
a.NAME,
|
||||
b.activation,
|
||||
a.activation,
|
||||
a.report_form
|
||||
FROM
|
||||
sys_excel_rpt_temp a
|
||||
LEFT JOIN sys_dept_temp b ON a.Id = b.temp_id
|
||||
WHERE
|
||||
b.activation = 1
|
||||
a.activation = 1
|
||||
and b.dept_id in
|
||||
<foreach collection="ids" index="index" item="item" separator="," open="(" close=")">
|
||||
#{item}
|
||||
|
||||
Reference in New Issue
Block a user