|
@@ -130,30 +130,31 @@
|
|
</select>
|
|
</select>
|
|
<select id="search" parameterType="hashmap" resultMap="JobInformationInfoMap">
|
|
<select id="search" parameterType="hashmap" resultMap="JobInformationInfoMap">
|
|
<![CDATA[
|
|
<![CDATA[
|
|
- select * from base_job_information_info
|
|
|
|
|
|
+ select * from base_job_information_info a left join base_person_info b
|
|
|
|
+ on a.person_id=b.id_
|
|
]]>
|
|
]]>
|
|
<where>
|
|
<where>
|
|
- del_flag=false
|
|
|
|
|
|
+ a.del_flag=false
|
|
<if test="searchParams.name != null">
|
|
<if test="searchParams.name != null">
|
|
- and name_ like #{searchParams.name}
|
|
|
|
|
|
+ and b.real_name like #{searchParams.name}
|
|
</if>
|
|
</if>
|
|
<if test="searchParams.intendedPosition != null">
|
|
<if test="searchParams.intendedPosition != null">
|
|
- and Intended_position like #{searchParams.intendedPosition}
|
|
|
|
|
|
+ and a.Intended_position like #{searchParams.intendedPosition}
|
|
</if>
|
|
</if>
|
|
<if test="searchParams.intendedIndustries != null">
|
|
<if test="searchParams.intendedIndustries != null">
|
|
- and Intended_industries = #{searchParams.intendedIndustries}
|
|
|
|
|
|
+ and a.Intended_industries = #{searchParams.intendedIndustries}
|
|
</if>
|
|
</if>
|
|
<if test="searchParams.method != null">
|
|
<if test="searchParams.method != null">
|
|
- and method_ = #{searchParams.method}
|
|
|
|
|
|
+ and a.method_ = #{searchParams.method}
|
|
</if>
|
|
</if>
|
|
<if test="searchParams.workExperience != null">
|
|
<if test="searchParams.workExperience != null">
|
|
- and work_experience = #{searchParams.workExperience}
|
|
|
|
|
|
+ and a.work_experience = #{searchParams.workExperience}
|
|
</if>
|
|
</if>
|
|
<if test="searchParams.education != null">
|
|
<if test="searchParams.education != null">
|
|
- and education_ = #{searchParams.education}
|
|
|
|
|
|
+ and a.education_ = #{searchParams.education}
|
|
</if>
|
|
</if>
|
|
<if test="searchParams.status != null">
|
|
<if test="searchParams.status != null">
|
|
- and status_ = #{searchParams.status}
|
|
|
|
|
|
+ and a.status_ = #{searchParams.status}
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|