修改学历查询education,多选

This commit is contained in:
sh
2026-05-12 16:41:23 +08:00
parent fcfe88cd7c
commit c4b8c6d75f

View File

@@ -199,7 +199,12 @@
<if test="jobTitle != null and jobTitle != ''"> and job_title = #{jobTitle}</if>
<if test="minSalary != null "> and min_salary = #{minSalary}</if>
<if test="maxSalary != null "> and max_salary = #{maxSalary}</if>
<if test="education != null and education != ''"> and education = #{education}</if>
<if test="education != null and education != ''">
and education in
<foreach collection="education.split(',')" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
<if test="experience != null and experience != ''"> and experience = #{experience}</if>
<if test="companyName != null and companyName != ''"> and company_name like concat('%', cast(#{companyName, jdbcType=VARCHAR} as varchar), '%')</if>
<if test="jobLocation != null and jobLocation != ''"> and job_location = #{jobLocation}</if>