add 增加 短信登录 与 小程序登录 示例

This commit is contained in:
疯狂的狮子Li
2022-03-23 01:02:07 +08:00
parent 641a15158d
commit bb479c436a
13 changed files with 250 additions and 21 deletions

View File

@@ -116,12 +116,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectUserByUserName" parameterType="String" resultMap="SysUserResult">
<include refid="selectUserVo"/>
where u.user_name = #{userName}
where u.del_flag = '0' and u.user_name = #{userName}
</select>
<select id="selectUserByPhonenumber" parameterType="String" resultMap="SysUserResult">
<include refid="selectUserVo"/>
where u.del_flag = '0' and u.phonenumber = #{phonenumber}
</select>
<select id="selectUserById" parameterType="Long" resultMap="SysUserResult">
<include refid="selectUserVo"/>
where u.user_id = #{userId}
where u.del_flag = '0' and u.user_id = #{userId}
</select>
</mapper>