Procházet zdrojové kódy

面试日历修改

change před 4 roky
rodič
revize
8062f3194e

+ 1 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/recruit/service/impl/RecruitInterviewServiceImpl.java

@@ -11,6 +11,7 @@ import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
 import com.zhongzheng.common.exception.CustomException;
 import com.zhongzheng.common.utils.DateUtils;
 import com.zhongzheng.modules.course.domain.MajorCategory;
+import com.zhongzheng.modules.recruit.domain.RecruitResume;
 import com.zhongzheng.modules.recruit.service.IRecruitNeedsService;
 import com.zhongzheng.modules.recruit.service.IRecruitResumeService;
 import com.zhongzheng.modules.recruit.vo.*;

+ 0 - 11
zhongzheng-system/src/main/java/com/zhongzheng/modules/recruit/vo/RecruitInterviewVo.java

@@ -74,15 +74,4 @@ public class RecruitInterviewVo {
 	@ApiModelProperty("简历")
 	private RecruitResumeVo recruitResumeVo;
 
-	/** 面试用户名 */
-	@Excel(name = "面试用户名")
-	@ApiModelProperty("面试用户名")
-	private String realName;
-
-
-	/** 面试岗位 */
-	@Excel(name = "面试岗位")
-	@ApiModelProperty("面试岗位")
-	private String job;
-
 }

+ 1 - 5
zhongzheng-system/src/main/resources/mapper/modules/recruit/RecruitInterviewMapper.xml

@@ -24,8 +24,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="com.zhongzheng.modules.recruit.vo.RecruitInterviewVo" id="RecruitInterviewVoResult">
         <result property="interviewId" column="interview_id"/>
         <result property="year" column="year"/>
-        <result property="realName" column="realname"/>
-        <result property="job" column="job"/>
         <result property="month" column="month"/>
         <result property="day" column="day"/>
         <result property="timingStart" column="timing_start"/>
@@ -39,9 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <select id="selectByDay" parameterType="map" resultMap="RecruitInterviewVoResult">
-        select r.*,u.realname,n.job from recruit_interview r
-            LEFT JOIN `user` u on r.user_id = u.user_id
-            LEFT JOIN recruit_needs n on n.id = r.needs_id
+        select * from recruit_interview
         where 1=1
         <if test="year!=null">
                 and year=#{year}