|
|
@@ -1848,7 +1848,7 @@ inner join(
|
|
|
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=i.aid
|
|
|
where a.status='正常'
|
|
|
- <if test="deps!=null">
|
|
|
+ <if test="deps!=null and deps.size()>0">
|
|
|
and a.department_id in
|
|
|
<foreach close=")" collection="deps" item="depId" open="(" separator=",">
|
|
|
#{depId}
|
|
|
@@ -1876,7 +1876,7 @@ inner join(
|
|
|
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=i.aid
|
|
|
where a.status='正常'
|
|
|
- <if test="depId!=null ">
|
|
|
+ <if test="deps!=null and deps.size()>0">
|
|
|
and a.department_id in
|
|
|
<foreach close=")" collection="deps" item="depId" open="(" separator=",">
|
|
|
#{depId}
|