mitao
昨天 03587b58b343956f910a653c37b9a7bcd84e4af9
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -266,7 +266,7 @@
   select  * from sys_user
   where 1=1
      <if test="ids != null and ids.size()>0">
         AND deptId IN
         AND dept_id IN
         <foreach collection="ids" separator="," item="id" open="(" close=")">
            #{id}
         </foreach>
@@ -277,7 +277,7 @@
    <select id="selectListByDeptId" resultType="com.ruoyi.common.core.domain.entity.SysUser">
      select u.*
      from sys_user u where u.deptId = #{deptId} and u.status = 0 and u.del_flag = 0
      from sys_user u where u.dept_id = #{deptId} and u.status = 0 and u.del_flag = 0
   </select>
   <select id="selectListByDeptType" resultType="com.ruoyi.common.core.domain.entity.SysUser">
      select u.*
@@ -287,7 +287,7 @@
      select u.*
      from sys_user u where u.status = 0 and u.del_flag = 0
      <if test="projectIds != null and projectIds.size() > 0">
         and u.deptId in
         and u.dept_id in
         <foreach item="item" collection="projectIds" open="(" separator="," close=")">
            #{item}
         </foreach>
@@ -299,7 +299,7 @@
         and deptType = #{deptType}
      </if>
      <if test="projectIds != null and projectIds.size() > 0">
         and deptId in
         and dept_id in
         <foreach item="item" collection="projectIds" open="(" separator="," close=")">
            #{item}
         </foreach>