|
@@ -57,6 +57,7 @@
|
|
|
<if test="state != null and state != ''">
|
|
|
and a.result = #{state}
|
|
|
</if>
|
|
|
+ and not exists (SELECT 1 from wx_depart w where w.name in ('外部人员','集团管理层','华人梦想') and c.firstDepartId = w.id)
|
|
|
order by a.userId, a.checkinDay
|
|
|
<if test="pageCurrent != null and pageCurrent != ''">
|
|
|
limit ${pageCurrent},${pageSize}
|
|
@@ -88,5 +89,6 @@
|
|
|
<if test="state != null and state != ''">
|
|
|
and a.result = #{state}
|
|
|
</if>
|
|
|
+ and not exists (SELECT 1 from wx_depart w where w.name in ('外部人员','集团管理层','华人梦想') and c.firstDepartId = w.id)
|
|
|
</select>
|
|
|
</mapper>
|