|
|
@@ -71,6 +71,13 @@
|
|
|
and sd.management_source=#{vo.managementSource}
|
|
|
</if>
|
|
|
|
|
|
+ <if test="vo.userIds !=null and vo.userIds!='' and vo.userIds.size()>0">
|
|
|
+ and su.leader_id in
|
|
|
+ <foreach collection="vo.userIds" item="item" open="(" separator="," close=")">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+
|
|
|
<choose>
|
|
|
<when test='vo.managementSource == "2"'>
|
|
|
and (sur.role_id = 20 or sur.role_id = 21)
|