无关风月
5 天以前 b84fc1807a6ce71f4d10cdb10da186abc5dcc173
ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -267,7 +267,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>
@@ -278,7 +278,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.*
@@ -288,7 +288,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>
@@ -300,7 +300,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>