|
@@ -117,7 +117,7 @@ id_,create_by,create_time,update_by,update_time,del_flag,company_id,sys_user_id,
|
|
|
</select>
|
|
|
|
|
|
<!--用于移动端接口:招聘方【收藏简历】-->
|
|
|
- <select id="pagedLoad" parameterType="hashMap" resultType="Map">
|
|
|
+ <select id="pagedLoadCollectResumes" parameterType="hashMap" resultType="Map">
|
|
|
<![CDATA[
|
|
|
select * from (select
|
|
|
c.sys_user_id hrId,
|
|
@@ -128,7 +128,7 @@ id_,create_by,create_time,update_by,update_time,del_flag,company_id,sys_user_id,
|
|
|
w.name_ positionCategoryName,
|
|
|
workExpw.name_ workExp,
|
|
|
eduw.name_ eduName,
|
|
|
- sexw.name_ sexName,
|
|
|
+ sexw.name_ sex,
|
|
|
jobstaw.name_ jobStatus,
|
|
|
drmoneyw.name_ dreamMoney,
|
|
|
c.update_time collectionTime,
|
|
@@ -155,4 +155,47 @@ id_,create_by,create_time,update_by,update_time,del_flag,company_id,sys_user_id,
|
|
|
${sort.name} ${sort.order}
|
|
|
</foreach>
|
|
|
</select>
|
|
|
+
|
|
|
+ <!--用于移动端接口:招聘方【招聘主页】-->
|
|
|
+ <select id="pagedLoadAllResumes" parameterType="hashMap" resultType="Map">
|
|
|
+ <![CDATA[
|
|
|
+ select * from (select
|
|
|
+ ju.real_name realName,
|
|
|
+ ju.head_image_url headImage,
|
|
|
+ ju.address_ address,
|
|
|
+ year(now())-year(ju.birthday_) age,
|
|
|
+ w.name_ positionCategoryName,
|
|
|
+ workExpw.name_ workExp,
|
|
|
+ eduw.name_ eduName,
|
|
|
+ sexw.name_ sex,
|
|
|
+ jobstaw.name_ jobStatus,
|
|
|
+ drmoneyw.name_ dreamMoney,
|
|
|
+ r.del_flag,
|
|
|
+ r.update_time,
|
|
|
+ rede.chat_status,
|
|
|
+ rerd.browse_count
|
|
|
+ from job_resume r
|
|
|
+ inner join job_jobuser ju on r.job_user_id=ju.id_ and ju.del_flag=0
|
|
|
+ left join job_resume_deliver rede on r.id_=rede.job_resume_id and rede.del_flag=0
|
|
|
+ left join job_work_category w on r.position_category_id=w.id_ and w.del_flag=0
|
|
|
+ left join sys_data_dictionary workExpw on r.work_exp=workExpw.value_ and workExpw.del_flag=0 and workExpw.parent_id='7724a25f-a781-46f4-b048-d9812108ff02'
|
|
|
+ left join sys_data_dictionary eduw on r.education_=eduw.value_ and eduw.del_flag=0 and eduw.parent_id='c1887d9d-e945-4875-be3f-905195cd8a8e'
|
|
|
+ left join sys_data_dictionary sexw on r.sex_=sexw.value_ and sexw.del_flag=0 and sexw.parent_id='0c3194dc-884d-4ea9-9966-dfb94f537f5c'
|
|
|
+ left join sys_data_dictionary jobstaw on ju.job_status=jobstaw.value_ and jobstaw.del_flag=0 and jobstaw.parent_id='e03f43d0-46f8-4696-a6f2-331d353dccd8'
|
|
|
+ left join sys_data_dictionary drmoneyw on r.dream_money=drmoneyw.value_ and drmoneyw.del_flag=0 and drmoneyw.parent_id='b5e4a52a-9f89-4e3b-976f-79207a40587d'
|
|
|
+ left join (select count(1) browse_count,job_resume_id from job_user_browse_hr where del_flag=0 group by job_resume_id) rerd on r.id_=rerd.job_resume_id
|
|
|
+ ) tab
|
|
|
+ ]]>
|
|
|
+ <where>
|
|
|
+ <if test="1==1">
|
|
|
+ <![CDATA[ and del_flag=0 and (chat_status is null or chat_status <>'5') ]]> <!--非已入职的简历sys_data_dictionary where parent_id=5e048b6d-cb1d-4fd5-bc70-c94259960862-->
|
|
|
+ </if>
|
|
|
+ <if test="searchParams.positionName != null">
|
|
|
+ and positionCategoryName like #{searchParams.positionName}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
|
+ ${sort.name} ${sort.order}
|
|
|
+ </foreach>
|
|
|
+ </select>
|
|
|
</mapper>
|