@@ -64,7 +64,7 @@ public interface SysDeptMapper extends BaseMapper<SysDept> {
List<SysDept> queryFiveLevelDept(@Param("vo") SysDeptVo sysDeptVo);
- List<SysDept> getListByIdsByKzt(List<String> deptIds);
+ List<SysDept> getListByIdsByKzt(@Param("ids") List<String> deptIds);
}
@@ -187,7 +187,7 @@
(sd.management_source != '1' or sd.management_source is null)
<if test="ids!=null and ids !='' and ids.size()>0">
- sd.id in
+ and sd.id in
<foreach collection="ids" item="item" open="(" close=")" separator=",">
#{item}
</foreach>
@@ -931,7 +931,7 @@
</if>
<if test="vo.userIds != null and vo.userIds != '' and vo.userIds.size() > 0">
- AND io.userid in
+ AND iac.leader_id in
<foreach collection="vo.userIds" item="item" open="(" separator="," close=")">