|
@@ -85,12 +85,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">
|
|
<select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">
|
|
<include refid="selectUserVo"/>
|
|
<include refid="selectUserVo"/>
|
|
- where u.user_name = #{userName} and u.del_flag = '0' and u.status = '0'
|
|
|
|
|
|
+ where u.user_name = #{userName} and u.del_flag = '0' and u.status = '0' limit 1
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
|
|
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
|
|
<include refid="selectUserVo"/>
|
|
<include refid="selectUserVo"/>
|
|
- where u.user_id = #{userId} and u.del_flag = '0' and u.status = '0'
|
|
|
|
|
|
+ where u.user_id = #{userId} and u.del_flag = '0' and u.status = '0' limit 1
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="checkUserNameUnique" parameterType="String" resultType="int">
|
|
<select id="checkUserNameUnique" parameterType="String" resultType="int">
|