|
|
@@ -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}
|