|
@@ -125,13 +125,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">
|
|
|
<include refid="selectUserVo"/>
|
|
|
- /*where u.user_name = #{userName} and u.del_flag = '0'*/
|
|
|
+ <!-- where u.user_name = #{userName} and u.del_flag = '0' -->
|
|
|
where (concat(u.user_name, '-', u.type) = #{userName} and u.del_flag = '0'
|
|
|
</select>
|
|
|
|
|
|
<select id="selectUserByPhonenumber" parameterType="String" resultMap="SysUserResult">
|
|
|
<include refid="selectUserVo"/>
|
|
|
- /*where u.phonenumber = #{phoneNumber} and u.del_flag = '0'*/
|
|
|
+ <!-- where u.phonenumber = #{phoneNumber} and u.del_flag = '0'-->
|
|
|
where concat(u.phonenumber, '-', u.type) = #{phoneNumber} and u.del_flag = '0'
|
|
|
</select>
|
|
|
|