Kaynağa Gözat

移动端接口:招聘方【职位管理】增加上下架操作

chenwen 4 yıl önce
ebeveyn
işleme
928ce00498

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

@@ -260,6 +260,7 @@
 			SELECT
 			    jr.del_flag,
 			    jr.create_by,
+			    jr.id_  recruitmentId,
 				DATE_FORMAT(jr.update_time,'%c月%e日 %H:%i') updateTime,
 				jr.status_ status,
 				jr.approve_status approveStatus,
@@ -304,5 +305,9 @@
 		select count(1) jobCount,sum(reading_times) readTimes from job_recruitment where create_by=#{0} and status_='open'
 	</select>
 
+	<!--招聘方职位管理 上下架管理-->
+	<update id="updateForPublish">
+		update job_recruitment  set status_=#{publishTag}   where id_=#{recruitmentId}
+	</update>
 
 </mapper>