From 9d3c664361f0c75792cf61e2a769f48efb85638c Mon Sep 17 00:00:00 2001 From: chenshaohua <635616957@qq.com> Date: Tue, 21 Jul 2026 19:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9D=A1=E4=BB=B6=E2=80=94?= =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=88=96=E8=80=85=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=AE=80=E5=8E=86=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/app/JobApplyMapper.xml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ruoyi-bussiness/src/main/resources/mapper/app/JobApplyMapper.xml b/ruoyi-bussiness/src/main/resources/mapper/app/JobApplyMapper.xml index 2665b82..b12efb0 100644 --- a/ruoyi-bussiness/src/main/resources/mapper/app/JobApplyMapper.xml +++ b/ruoyi-bussiness/src/main/resources/mapper/app/JobApplyMapper.xml @@ -143,6 +143,11 @@ ) latest_ii on latest_ii.user_id = a.user_id and latest_ii.job_id = a.job_id and latest_ii.del_flag = '0' + LEFT JOIN ( + SELECT + user_id, MAX(school_name) AS school_name, MAX(end_time) AS end_time + FROM app_user_education WHERE del_flag = '0' GROUP BY user_id + ) edu ON e.user_id = edu.user_id where a.del_flag='0' and e.name like concat('%', cast(#{name, jdbcType=VARCHAR} as varchar), '%') @@ -150,16 +155,32 @@ and e.phone like concat('%', cast(#{phone, jdbcType=VARCHAR} as varchar), '%') and e.education = #{education} + + and e.work_experience = #{workExperience} + + and e.update_time >= #{finishTime} and e.sex = #{sex} + + and e.nation = #{nation} + + and e.user_type like concat('%', cast(#{userType, jdbcType=VARCHAR} as varchar), '%') + + and e.job_title_id like concat('%', cast(#{jobTitleId, jdbcType=VARCHAR} as varchar), '%') and e.area = #{area} + + and get_age_from_id_card(e.id_card) = #{age} and e.political_affiliation = #{politicalAffiliation} and e.id_card like concat('%', cast(#{idCard, jdbcType=VARCHAR} as varchar), '%') and e.birth_date = #{birthDate} + + and edu.school_name = #{schoolName} + + and edu.end_time = #{endTime} and b.job_title like concat('%', cast(#{jobName, jdbcType=VARCHAR} as varchar), '%')