Преглед изворни кода

增加移动端接口:招聘方【个人中心】统计发布的岗位数,被浏览次数

chenwen пре 3 година
родитељ
комит
8e0c27dbe5
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      common/src/main/resources/mapper/job/Recruitment.xml

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

@@ -285,7 +285,7 @@ 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 approveStatus='94905388-a409-4096-a842-5128823250c5'
+				and status='1'
 			</if>
 			<if test='searchParams.status =="approve"'>
 				and status='1' and approveStatus='eeba3cbf-80b3-4db9-a9e6-695f00c087b5'
@@ -301,7 +301,7 @@ id_,company_id,title_,area_,address_,position_,position_message,requirements_,po
 
 	<!--招聘方个人中心主页:统计已发布的招聘,被浏览量(不包含已撤销的(已关闭的))-->
 	<select id="rptMyRecruitmentCount" parameterType="String" resultType="Map">
-		select count(1) recCount,sum(reading_times) readTimes from job_recruitment where create_by=#{0} and status_='open'
+		select count(1) jobCount,sum(reading_times) readTimes from job_recruitment where create_by=#{0} and status_='open'
 	</select>