移动端适配

This commit is contained in:
2025-12-09 16:04:36 +08:00
parent 242a263daa
commit a063e9ce32
14 changed files with 811 additions and 50 deletions

View File

@@ -31,7 +31,7 @@ CREATE TABLE `tb_sys_user_info` (
`family_name` VARCHAR(50) DEFAULT NULL COMMENT '',
`given_name` VARCHAR(50) DEFAULT NULL COMMENT '',
`full_name` VARCHAR(100) DEFAULT NULL COMMENT '全名',
`level` INT(4) DEFAULT 1 COMMENT '等级',
`level` FLOAT DEFAULT 1 COMMENT '等级',
`student_id` VARCHAR(50) DEFAULT NULL COMMENT '学号',
`id_card` VARCHAR(50) DEFAULT NULL COMMENT '身份证号',
`address` VARCHAR(255) DEFAULT NULL COMMENT '地址',

View File

@@ -942,7 +942,7 @@ public class ACHAchievementServiceImpl implements AchievementService {
}
// 获取用户当前信息
TbSysUserInfo userInfo = userInfoMapper.selectById(userID);
TbSysUserInfo userInfo = userInfoMapper.selectByUserID(userID);
if (userInfo == null) {
logger.warn("用户信息不存在: {}", userID);
return;

View File

@@ -34,4 +34,6 @@ public interface UserInfoMapper extends BaseMapper<TbSysUserInfo> {
* @since 2025-10-06
*/
int deleteUserInfo(@Param("userID") String userId);
TbSysUserInfo selectByUserID(@Param("userID") String userID);
}

View File

@@ -53,4 +53,11 @@
DELETE FROM tb_sys_user_info
WHERE user_id = #{userID}
</delete>
<!-- selectByUserID -->
<select id="selectByUserID">
SELECT * FROM tb_sys_user_info WHERE user_id = #{userID}
</select>
</mapper>