This commit is contained in:
2025-09-12 10:35:17 +08:00
parent 141299fcaa
commit 914c04c240
14 changed files with 388 additions and 1520 deletions

View File

@@ -146,10 +146,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="checkEmailUnique" parameterType="String" resultMap="SysUserResult">
select user_id, email from sys_user where email = #{email} and del_flag = '0' limit 1
</select>
<select id="selectUserIdByUserCount" resultType="java.lang.Long">
select user_id from sys_user <where>
<if test="userName != null">user_name = #{userCount}</if>
</where>
<select id="selectUserIdByUserCount" parameterType="String" resultType="java.lang.Long">
select user_id from sys_user where user_name = #{userCount} and del_flag = '0' limit 1
</select>
<insert id="insertUser" parameterType="SysUser" useGeneratedKeys="true" keyProperty="userId">