| talent-card-admin/src/types/admin.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| talent-card-admin/src/views/UpgradeApplicationDetailView.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| talent-card-server/src/main/java/com/talentcard/server/business/card/CardAdminService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
talent-card-admin/src/types/admin.ts
@@ -623,6 +623,9 @@ talentName?: string talentMobile?: string talentIdCardNo?: string contactAddress?: string workAddress?: string gender?: number | string talentCardNo?: string currentLevel?: string targetLevel?: string talent-card-admin/src/views/UpgradeApplicationDetailView.vue
@@ -15,6 +15,9 @@ function text(value: unknown) { return value === undefined || value === null || value === '' ? '-' : String(value) } function genderText(value: unknown) { return Number(value) === 1 ? '男' : Number(value) === 2 ? '女' : '-' } function formatDate(value: unknown) { return typeof value === 'string' ? value.replace('T', ' ').slice(0, 19) : text(value) } @@ -72,6 +75,9 @@ <div>持卡人姓名:<strong>{{ text(detail.talentName) }}</strong></div> <div>身份证号:<strong>{{ text(detail.talentIdCardNo) }}</strong></div> <div>联系方式:<strong>{{ text(detail.talentMobile) }}</strong></div> <div>联系地址:<strong>{{ text(detail.contactAddress) }}</strong></div> <div>工作地址:<strong>{{ text(detail.workAddress) }}</strong></div> <div>性别:<strong>{{ genderText(detail.gender) }}</strong></div> <div>人才等级:<strong>{{ text(detail.currentLevel) }}</strong></div> <div>人才卡号:<strong>{{ text(detail.talentCardNo) }}</strong></div> </div> talent-card-server/src/main/java/com/talentcard/server/business/card/CardAdminService.java
@@ -181,7 +181,10 @@ @Transactional(readOnly = true) public Map<String, Object> upgradeApplication(Long id) { Map<String, Object> application = one(""" select a.*, t.id_card_no as talent_id_card_no select a.*, t.id_card_no as talent_id_card_no, t.contact_address as contact_address, t.work_address as work_address, t.gender as gender 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 = ?