Commit 9e8f7ba5 authored by 罗可心's avatar 罗可心 😕

考勤管理查找添加部门筛选条件

parent 01631671
...@@ -115,6 +115,9 @@ ...@@ -115,6 +115,9 @@
<if test="entity.nltBz != null and entity.nltBz != ''"> <if test="entity.nltBz != null and entity.nltBz != ''">
and attendance_sync.nlt_bz = #{entity.nltBz} and attendance_sync.nlt_bz = #{entity.nltBz}
</if> </if>
<if test="entity.deptId !=null and entity.deptId != '' ">
and su.dept_id in(${entity.deptId})
</if>
order by IF(ISNULL(sd.weight),1,0) , sd.weight, IF(ISNULL(su.sort),1,0) ,su.sort , attendance_sync.date_of_attendance , order by IF(ISNULL(sd.weight),1,0) , sd.weight, IF(ISNULL(su.sort),1,0) ,su.sort , attendance_sync.date_of_attendance ,
<if test="entity.sort == '0'.toString()"> <if test="entity.sort == '0'.toString()">
attendance_sync.work_hours desc attendance_sync.work_hours desc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment