用户密码登录功能完成

This commit is contained in:
KilLze
2025-12-27 19:25:03 +08:00
parent 55c7c9a03a
commit 4401a8a44a
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>