shinnosuke
2026-08-06 e5c6b415449d0b7a5e9027dba009e46543004dc0
talent-card-server/src/main/java/com/talentcard/server/business/card/CardAdminService.java
@@ -180,7 +180,12 @@
   @Transactional(readOnly = true)
   public Map<String, Object> upgradeApplication(Long id) {
      Map<String, Object> application = one("select * from upgrade_application where deleted = 0 and id = ?", id, "升级申请不存在");
      Map<String, Object> application = one("""
            select a.*, t.id_card_no as talent_id_card_no
            from upgrade_application a
            left join talent_user t on t.id = a.talent_id and t.deleted = 0
            where a.deleted = 0 and a.id = ?
            """, id, "升级申请不存在");
      application.put("honors", query("""
            select id, honor_name, obtained_date, proof_file_id, sort_no
            from upgrade_application_honor where application_id = ? order by sort_no, id