Codex Assistant
16 小时以前 58d9f460b2f8c34430285115e2557d18333c5cab
refs
用户 Codex Assistant <codex@example.com>
星期三, 十月 8, 2025 14:16 +0800
提交者 Codex Assistant <codex@example.com>
星期三, 十月 8, 2025 14:16 +0800
提交58d9f460b2f8c34430285115e2557d18333c5cab
目录 0363f317b85816fbcf347368273cec8241e02ddb 目录 | zip | gz
parent 9d9519354fb304855258a5c97e26dd12c3caf5e1 查看 | 对比
feat: 修复Player实体phone字段数据冗余问题并优化小程序报名逻辑

- 将Player.phone字段标记为@Deprecated,避免数据冗余
- 修改ActivityPlayerService报名逻辑:先根据phone处理User,再根据userId处理Player
- 更新所有相关服务和DTO类,从User实体获取phone信息而非Player
- 修改GraphQL schema,将Player.phone字段标记为废弃
- 优化数据库查询,确保数据一致性和正确的关联关系
- 移除对废弃Player.phone字段的依赖,提升系统架构合理性
23个文件已修改
69个文件已添加
2个文件已删除
10201 ■■■■■ 已修改文件
backend/logs/backend.err 对比 | 查看 | 原始文档 | blame | 历史
backend/logs/backend.out 576 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/activity/service/ActivityService.java 10 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/dto/CompetitionParticipantResponse.java 4 ●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/dto/PromotableParticipantResponse.java 4 ●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/entity/Player.java 10 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/repository/ActivityPlayerRepository.java 6 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerDetailService.java 3 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerService.java 30 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/player/service/PlayerApplicationService.java 6 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/tools/MockDataInserter.java 3 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/java/com/rongyichuang/user/resolver/UserResolver.java 7 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/resources/graphql/player.graphqls 4 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/src/main/resources/graphql/rating.graphqls 3 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
backend/test-saveUserInfo-updated.js 8 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
check-all-education-data.js 131 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
check-database-activity-times.js 58 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
check-db-gender-education.js 139 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
check-phone-db.js 87 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
check-user-judge.js 75 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-backend-user-context.js 266 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-check-phone.js 101 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-dataset-issue.md 89 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-employee-check.js 133 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-employee.js 63 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-gender-education-data.js 90 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-jwt-token.js 288 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-saveUserInfo.js 148 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
debug-user-info.js 222 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
get-valid-token.js 139 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
package.json 1 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
simulate-miniprogram-debug.js 145 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-activity-detail.js 133 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-activity-id-debug.js 195 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-activity-time-debug.js 91 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-actual-user-data.js 66 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-all-gender-fixes.js 212 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-filter-fix.js 89 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-gender-birthday-fix.js 8 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-gender-fix.js 66 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-graphql-queries-only.js 140 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-graphql-time-data.js 182 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-health-check.js 62 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-index-queries.js 140 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-jwt-debug.js 96 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-jwt-parsing.js 183 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-jwt-wxopenid-fixed.js 156 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-miniprogram-activity-detail.js 136 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-miniprogram-data-flow.js 186 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-miniprogram-format.js 151 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-miniprogram-graphql.js 98 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-miniprogram-login-status.js 107 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-miniprogram-review-fix.js 71 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-navigation-params.js 114 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-pagination-fix.js 82 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-phone-auth-required.js 189 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-phone-display-fixed.js 194 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-player-phone-fix.js 114 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-playercount-fix.js 91 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-registration-debug.html 126 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-registration-logic.js 80 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-review-fix-validation.js 200 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-review-fix-with-token.js 194 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-review-page-queries.js 200 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-review-queries.js 245 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-review-submit-fix.js 124 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-debug.js 73 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-fixed.js 161 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-no-phone.js 63 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-simple-no-avatar.js 69 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-simple.js 96 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-with-token.js 123 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-saveUserInfo-with-valid-token.js 167 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-user-judge-debug.js 203 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-with-existing-token.js 156 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-wx-activity-data.js 183 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-wx-login-rest.js 164 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-wx-login-with-code.js 353 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-wx-login.js 105 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test-wxs-format.js 123 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
test_miniprogram_fix.js 102 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
update-activity-times.js 55 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
update-activity-times.sql 65 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
verify-user-judge-mapping.js 156 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
web/src/views/check-detail.vue 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/app.js 2 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/lib/utils.wxs 76 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/index/index.js 81 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/index/index.wxml 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/index/index.wxss 23 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/judge/review.js 49 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/judge/review.wxml 57 ●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/profile/profile.js 2 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
wx/pages/registration/registration.js 120 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史