|
|
@@ -13,7 +13,29 @@
|
|
|
<result property="companyId" column="company_id" />
|
|
|
<result property="sysUserId" column="sys_user_id" />
|
|
|
<result property="resumeId" column="resume_id" />
|
|
|
- </resultMap>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <resultMap id="ResumeVOMap" type="com.jpsoft.employment.modules.job.entity.ResumeVO">
|
|
|
+ <id property="id" column="id_" />
|
|
|
+ <result property="createBy" column="create_by" />
|
|
|
+ <result property="createTime" column="create_time" />
|
|
|
+ <result property="updateBy" column="update_by" />
|
|
|
+ <result property="updateTime" column="update_time" />
|
|
|
+ <result property="delFlag" column="del_flag" />
|
|
|
+ <result property="jobUserId" column="job_user_id" />
|
|
|
+ <result property="sex" column="sex_" />
|
|
|
+ <result property="positionCategoryId" column="position_category_id" />
|
|
|
+ <result property="positionCategoryName" column="position_category_name" />
|
|
|
+ <result property="workExp" column="work_exp" />
|
|
|
+ <result property="education" column="education_" />
|
|
|
+ <result property="dreamMoney" column="dream_money" />
|
|
|
+ <result property="dreamAdd" column="dream_add" />
|
|
|
+ <result property="birthday" column="birthday_" />
|
|
|
+ <result property="introduction" column="introduction_" />
|
|
|
+ <result property="status" column="status_" />
|
|
|
+ <result property="approveStatus" column="approve_status" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
<insert id="insert" parameterType="com.jpsoft.employment.modules.job.entity.RecruitmentCollection">
|
|
|
<!--
|
|
|
<selectKey resultType="java.lang.String" order="BEFORE" keyProperty="id">
|
|
|
@@ -93,4 +115,20 @@ id_,create_by,create_time,update_by,update_time,del_flag,company_id,sys_user_id,
|
|
|
${sort.name} ${sort.order}
|
|
|
</foreach>
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="pagedLoad" parameterType="hashMap" resultMap="ResumeVOMap">
|
|
|
+ <![CDATA[
|
|
|
+ select r.*,w.name_ position_category_name from job_recruitment_collection c inner join job_resume r on c.resume_id=r.id_
|
|
|
+ left join job_work_category w on r.position_category_id=w.id_
|
|
|
+ where c.sys_user_id = #{searchParams.recruiterId}
|
|
|
+ ]]>
|
|
|
+ <where>
|
|
|
+ <if test="searchParams.positionName != null">
|
|
|
+ and w.name_ like #{searchParams.positionName}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
|
+ ${sort.name} ${sort.order}
|
|
|
+ </foreach>
|
|
|
+ </select>
|
|
|
</mapper>
|