From 3714621173c606c4c58439ed8941100ce9ddea14 Mon Sep 17 00:00:00 2001
From: Codex Assistant <codex@example.com>
Date: 星期三, 05 十一月 2025 15:10:49 +0800
Subject: [PATCH] bug

---
 backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerDetailService.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerDetailService.java b/backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerDetailService.java
index ba7601e..df96807 100644
--- a/backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerDetailService.java
+++ b/backend/src/main/java/com/rongyichuang/player/service/ActivityPlayerDetailService.java
@@ -59,8 +59,9 @@
         String sql = """
             SELECT ap.id as ap_id, ap.description as ap_description, ap.activity_id, ap.region_id, ap.stage_id,
                    ap.project_name, ap.feedback, ap.state as ap_state,
-                   p.id as player_id, p.name as player_name, p.phone, p.description as player_desc,
+                   p.id as player_id, p.name as player_name, u.phone, p.description as player_desc,
                    p.gender, u.birthday, p.education, p.introduction, u.id as user_id,
+                   u.name as user_name, u.phone as user_phone,
                    a.name as activity_name, a.rating_scheme_id,
                    r.id as region_id, r.name as region_name, r.full_path as region_path
             FROM t_activity_player ap
@@ -157,9 +158,11 @@
         }
         
         Object birthdayObj = row.get("birthday");
-        playerInfo.setBirthday(birthdayObj != null ? 
+        playerInfo.setBirthday(birthdayObj != null ?
             (birthdayObj instanceof java.sql.Date ? ((java.sql.Date) birthdayObj).toString() : birthdayObj.toString()) : null);
-        playerInfo.setEducation(row.get("education") != null ? row.get("education").toString() : "");
+        Object educationObj = row.get("education");
+        log.info("璋冭瘯锛氫粠鏁版嵁搴撴煡璇㈠埌鐨別ducation鍊�: {}", educationObj);
+        playerInfo.setEducation(educationObj != null ? educationObj.toString() : "");
         playerInfo.setIntroduction(row.get("introduction") != null ? row.get("introduction").toString() : "");
 
         // 鏋勫缓鍖哄煙淇℃伅

--
Gitblit v1.8.0