xiangpei
2025-02-17 9b3b652cfb16b09a6f9c79c5d1d8f7b2b855f22e
system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -133,6 +133,11 @@
      where u.user_id = #{userId}
   </select>
   <select id="selectUserByIds" parameterType="Long" resultMap="SysUserResult">
      <include refid="selectUserVo"/>
      where u.user_id in <foreach collection="userIds" open="(" separator="," close=")" item="userId">#{userId}</foreach>
   </select>
   <select id="checkUserNameUnique" parameterType="String" resultMap="SysUserResult">
      select user_id, user_name from sys_user where user_name = #{userName} and del_flag = '0' limit 1
   </select>