@@ -58,6 +58,7 @@
</if>
<if test="deptId != null ">and FIND_IN_SET( #{deptId}, CONCAT(d.ancestors,',',d.dept_id) )</if>
<if test="deptName != null and deptName != ''">and dept_name like concat('%', #{deptName}, '%')</if>
+ ${params.dataScope}
</where>
order by a.start_time desc,a.create_time desc
</select>