浏览代码

增加移动端接口:招聘方【职位管理】查询接口更改编码使用

chenwen 3 年之前
父节点
当前提交
cf58501e3e
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      common/src/main/resources/mapper/job/Recruitment.xml

+ 3 - 2
common/src/main/resources/mapper/job/Recruitment.xml

@@ -275,6 +275,7 @@ id_,company_id,title_,area_,address_,position_,position_message,requirements_,po
 			left join sys_data_dictionary waged on jr.wage_type=waged.id_ and waged.del_flag=0
 			left join sys_data_dictionary workyeard on jr.work_year=workyeard.id_ and workyeard.del_flag=0
 			left join sys_data_dictionary educationd on jr.education_=educationd.id_ and educationd.del_flag=0
+
 			) TAB
 		]]>
 		<where>
@@ -285,10 +286,10 @@ id_,company_id,title_,area_,address_,position_,position_message,requirements_,po
 				and create_by=#{searchParams.recruiter}
 			</if>
 			<if test='searchParams.status =="publish"'> <!--按招聘状态过滤publish:已发布且审核完;approve:审核中;close:关闭下架-->
-				and status='1'
+				and status='1' and approveStatus='3'  <!--sys_data_dictionary where parent_id='163b92e3-9847-4370-a31e-6d62bed279e8'  -->
 			</if>
 			<if test='searchParams.status =="approve"'>
-				and status='1' and approveStatus='eeba3cbf-80b3-4db9-a9e6-695f00c087b5'
+				and status='1' and approveStatus='2'
 			</if>
 			<if test='searchParams.status =="close"'>
 				and status='0'