用户密码登录功能完成

This commit is contained in:
KilLze
2025-12-27 19:25:03 +08:00
parent ae0cca5437
commit 039443dc0f
6 changed files with 89 additions and 2 deletions

View File

@@ -4,5 +4,8 @@
<mapper namespace="com.bao.dating.mapper.UserMapper">
<select id="getByUsername" resultType="com.bao.dating.pojo.entity.User">
SELECT * FROM user WHERE user_name = #{userName}
</select>
</mapper>