Explorar o código

移动端接口:招聘方【招聘主页】查询语句改用编码id值

chenwen %!s(int64=4) %!d(string=hai) anos
pai
achega
35313e3fc4
Modificáronse 1 ficheiros con 10 adicións e 10 borrados
  1. 10 10
      common/src/main/resources/mapper/job/RecruitmentCollection.xml

+ 10 - 10
common/src/main/resources/mapper/job/RecruitmentCollection.xml

@@ -136,11 +136,11 @@ id_,create_by,create_time,update_by,update_time,del_flag,company_id,sys_user_id,
 			from job_recruitment_collection  c inner join job_resume  r on c.resume_id=r.id_
 			inner join job_jobuser ju on r.job_user_id=ju.id_ and ju.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 sys_data_dictionary workExpw on r.work_exp=workExpw.id_ and workExpw.del_flag=0  
+			left join sys_data_dictionary eduw on r.education_=eduw.id_ and eduw.del_flag=0 
+			left join sys_data_dictionary sexw on r.sex_=sexw.id_ and sexw.del_flag=0  
+			left join sys_data_dictionary jobstaw on ju.job_status=jobstaw.id_ and jobstaw.del_flag=0  
+			left join sys_data_dictionary drmoneyw on r.dream_money=drmoneyw.id_ and drmoneyw.del_flag=0  
 			) tab
 		]]>
 		<where>
@@ -178,11 +178,11 @@ id_,create_by,create_time,update_by,update_time,del_flag,company_id,sys_user_id,
 			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 sys_data_dictionary workExpw on r.work_exp=workExpw.id_ and workExpw.del_flag=0  
+			left join sys_data_dictionary eduw on r.education_=eduw.id_ and eduw.del_flag=0  
+			left join sys_data_dictionary sexw on r.sex_=sexw.id_ and sexw.del_flag=0  
+			left join sys_data_dictionary jobstaw on ju.job_status=jobstaw.id_ and jobstaw.del_flag=0 
+			left join sys_data_dictionary drmoneyw on r.dream_money=drmoneyw.id_ and drmoneyw.del_flag=0 
 			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
 		]]>