修改学历查询education,多选
This commit is contained in:
@@ -199,7 +199,12 @@
|
|||||||
<if test="jobTitle != null and jobTitle != ''"> and job_title = #{jobTitle}</if>
|
<if test="jobTitle != null and jobTitle != ''"> and job_title = #{jobTitle}</if>
|
||||||
<if test="minSalary != null "> and min_salary = #{minSalary}</if>
|
<if test="minSalary != null "> and min_salary = #{minSalary}</if>
|
||||||
<if test="maxSalary != null "> and max_salary = #{maxSalary}</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="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="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>
|
<if test="jobLocation != null and jobLocation != ''"> and job_location = #{jobLocation}</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user