|
|
@@ -1994,7 +1994,7 @@ inner join(
|
|
|
from user where type=1 and status=0 and share_type=0 group by aid) h on a.id=h.aid
|
|
|
left join (select x.aid,count(1)as count from (select x1.aid,x1.uid from user_lock_release x1
|
|
|
left join user y on x1.uid=y.id where x1.type=1
|
|
|
- and x1.status=0 and y.integrity=1 group by aid,uid)x group by aid) i on a.id=h.aid
|
|
|
+ and x1.status=0 and y.integrity=1 group by aid,uid)x group by aid) i on a.id=i.aid
|
|
|
<if test="depId!=null and depId!=''">
|
|
|
where a.department_id= #{depId,jdbcType=VARCHAR}
|
|
|
</if>
|