提交代码

main
姜玉琦 2024-02-29 02:57:55 +08:00
parent 2117edbd51
commit fa2ee8c7fd
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ 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} or u.phonenumber = #{userName}) and u.del_flag = '0'
</select>
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">