up
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user