|
|
@@ -178,9 +178,59 @@
|
|
|
<if test="searchParams.id != null">
|
|
|
and ID_ like #{searchParams.id}
|
|
|
</if>
|
|
|
+ <if test="searchParams.relevantTitle != null">
|
|
|
+ and title_ like #{searchParams.relevantTitle}
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.notrelevantId != null">
|
|
|
+ and id_ != #{searchParams.notrelevantId}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
|
${sort.name} ${sort.order}
|
|
|
</foreach>
|
|
|
</select>
|
|
|
+ <select id="foundPageList" parameterType="hashmap" resultType="map">
|
|
|
+ <![CDATA[
|
|
|
+ SELECT
|
|
|
+ jr.id_ AS id,
|
|
|
+ jr.title_ AS title,
|
|
|
+ jr.is_discuss_personally AS isDiscussPersonally,
|
|
|
+ jr.requirements_ AS requirements,
|
|
|
+ jr.address_ AS address,
|
|
|
+ bc.logo_ AS logo,
|
|
|
+ bc.name_ AS name,
|
|
|
+ sdd.name_ AS scaleName,
|
|
|
+ bci.city_name AS cityName
|
|
|
+ FROM
|
|
|
+ job_recruitment AS jr
|
|
|
+ INNER JOIN base_company AS bc
|
|
|
+ INNER JOIN sys_data_dictionary AS sdd
|
|
|
+ INNER JOIN base_city AS bci ON jr.company_id = bc.id_
|
|
|
+ AND bc.scale_ = sdd.id_
|
|
|
+ AND jr.area_ = bci.id_
|
|
|
+ ]]>
|
|
|
+ <where>
|
|
|
+ <if test="searchParams.id != null">
|
|
|
+ and bc.id_ like #{searchParams.id}
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.title != null">
|
|
|
+ and jr.title_ like #{searchParams.title}
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.monthlySalary != null">
|
|
|
+ and jr.wage_type like #{searchParams.monthlySalary}
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.workExperience != null">
|
|
|
+ and jr.requirements_ like #{searchParams.workExperience}
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.education != null">
|
|
|
+ and jr.education_ like #{searchParams.education}
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.recruitmentPosition != null">
|
|
|
+ and jr.position_ like #{searchParams.recruitmentPosition}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
|
+ ${sort.name} ${sort.order}
|
|
|
+ </foreach>
|
|
|
+ </select>
|
|
|
</mapper>
|