xiangpei
2025-02-14 11e8a8f6e8cc27514447a49606842b890cdadba8
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>