commit | 11aacb977c16d155e4597fbef142618ca6eff53d | [log] [tgz] |
---|---|---|
author | BirdNETM <22301113@bjtu.edu.cn> | Sat Jun 07 23:17:03 2025 +0800 |
committer | BirdNETM <22301113@bjtu.edu.cn> | Sat Jun 07 23:17:03 2025 +0800 |
tree | 9d993f4cc9ab2aa47507a957bd60a093823ae4a5 | |
parent | 42e63bda866bea6b06384c112f8f3aecf0b860e3 [diff] [blame] |
新增邀请码页面,新增添加好友功能 Change-Id: Ifa0a5c355ab3693eecfe919de06fa9bef8171695
diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserFollowMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserFollowMapper.xml index 6fb9169..bea8888 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserFollowMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserFollowMapper.xml
@@ -28,4 +28,10 @@ from sys_user_follow where user_id = #{userId} and author_id = #{authorId} </select> + + <select id="selectUserIdByUsername" resultType="java.lang.Long"> + select user_id + from sys_user + where user_name = #{username} + </select> </mapper> \ No newline at end of file