Jelajahi Sumber

1、新增岗位关闭下架字段标识

rayson 1 tahun lalu
induk
melakukan
12d7d88c09

+ 1 - 0
src/main/java/com/wechat/model/dto/InterviewTimeListDto.java

@@ -17,6 +17,7 @@ public class InterviewTimeListDto {
 	private Date intvTimeTo;
 	// 待确认人
 	private String confirmedBy;
+
 	
 	public String getIntvTimeId() {
 		return intvTimeId;

+ 11 - 1
src/main/java/com/wechat/model/dto/PositionCvHisDto.java

@@ -33,7 +33,17 @@ public class PositionCvHisDto{
 	private String publisher; //发布者
 	
 	private InterviewListDto interviewInfo; // 邀请面试履历
-	
+
+	private Integer closedFlag; // 岗位关闭下架标识 0正常 1下架
+
+	public Integer getClosedFlag() {
+		return closedFlag;
+	}
+
+	public void setClosedFlag(Integer closedFlag) {
+		this.closedFlag = closedFlag;
+	}
+
 	public String getHeadPortrait() {
 		return headPortrait;
 	}

+ 4 - 2
src/main/resources/mybatis/MdePositionCvRelMapper.xml

@@ -96,6 +96,7 @@
         <result column="addCityName" property="addCityName"/>
         <result column="workExperience" property="workExperience"/>
         <result column="education" property="education"/>
+        <result column="closedFlag" property="closedFlag"/>
         <collection column="intvId" property="interviewInfo" ofType="com.wechat.model.dto.InterviewListDto">
             <result column="entContacts" property="entContacts"/>
             <result column="entContactInfo" property="entContactInfo"/>
@@ -261,7 +262,8 @@
         s1.NAME as addProvinceName,
         s2.NAME as addCityName,
         b.work_experience as workExperience,
-        b.education as education
+        b.education as education,
+        b.DEL_FLAG as closedFlag
         ,intv.ENT_CONTACTS as entContacts
         ,intv.ENT_CONTACT_INFO as entContactInfo
         ,intv.TYPE as type
@@ -283,7 +285,7 @@
         mde_position_cv_rel a
         LEFT JOIN mde_job_advertised b
         ON a.pos_id = b.JOB_ID
-        AND b.del_flag = 0
+<!--        AND b.del_flag = 0-->
         LEFT JOIN mde_interview intv
         ON a.INTV_ID = intv.INTV_ID
         LEFT JOIN mde_intv_time time