@@ -22,8 +22,9 @@
<if test="param.endTime != null and param.endTime != ''">
and u.create_time <= #{param.endTime}
</if>
+ and u.dept_id in
<foreach collection="param.deptIds" item="deptId" open="(" separator="," close=")">
- and u.dept_id in #{deptId}
+ #{deptId}
</foreach>
order by u.create_time desc
</select>