fix: 修复JDK高版本兼容性问题及面试列表字段映射

- pom.xml: 升级 maven-compiler-plugin 3.1→3.13.0 (兼容JDK 17+)
- pom.xml: 升级 lombok 到 1.18.34 (兼容JDK 21)
- InterviewInvitationMapper.xml: 修复 select t.* 导致 company_name 列名冲突,显式列出所有列,修复求职者姓名/联系方式无法显示

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
冯辉
2026-06-25 14:34:12 +08:00
parent 3052847fd7
commit d97701b227

View File

@@ -56,8 +56,14 @@
</select>
<!-- 带公司名和岗位名的列表查询COALESCE 优先用关联表实时数据,兜底用冗余存储 -->
<!-- 注意:不用 t.* 避免 company_name 列名冲突,显式列出除 company_name 外的所有列 -->
<select id="getInterviewInvitationVOList" resultMap="InterviewInvitationVOResult" parameterType="InterviewInvitation">
select t.*,
select t.id, t.company_id, t.job_id, t.user_id, t.apply_id,
t.interview_time, t.interview_method, t.meeting_link,
t.meeting_password, t.interview_location,
t.contact_phone, t.interviewer_name,
t.job_name, t.status, t.del_flag,
t.create_by, t.create_time, t.update_by, t.update_time, t.remark,
COALESCE(c.name, t.company_name) as company_name,
COALESCE(j.job_title, t.job_name) as job_title,
u.name as applicant_name,