wkyy 3 роки тому
батько
коміт
c65a462932

+ 1 - 0
common/src/main/resources/mapper/job/JobUser.xml

@@ -201,6 +201,7 @@
 		]]>
 		<where>
 			jre.del_flag = 0
+			and jr.status_ = '1'
 			<if test="searchParams.id != null">
 				and su.id_ like #{searchParams.id}
 			</if>

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

@@ -334,7 +334,7 @@
 
 	<!--招聘方个人中心主页:统计已发布的招聘,被浏览量(不包含已撤销的(已关闭的))-->
 	<select id="rptMyRecruitmentCount" parameterType="String" resultType="Map">
-		select count(1) jobCount,sum(reading_times) readTimes from job_recruitment where create_by=#{0} and status_='1'
+		select count(1) jobCount,sum(reading_times) readTimes from job_recruitment where create_by=#{hrId} and status_='1'
 	</select>
 
 	<!--招聘方职位管理 上下架管理-->