|
|
@@ -20,5 +20,26 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="userId" column="user_id"/>
|
|
|
</resultMap>
|
|
|
|
|
|
+ <resultMap type="com.zhongzheng.modules.recruit.vo.RecruitInterviewVo" id="RecruitInterviewVoResult">
|
|
|
+ <result property="interviewId" column="interview_id"/>
|
|
|
+ <result property="year" column="year"/>
|
|
|
+ <result property="month" column="month"/>
|
|
|
+ <result property="day" column="day"/>
|
|
|
+ <result property="timingStart" column="timing_start"/>
|
|
|
+ <result property="timingEnd" column="timing_end"/>
|
|
|
+ <result property="needsId" column="needs_id"/>
|
|
|
+ <result property="resumeJson" column="resume_json"/>
|
|
|
+ <result property="status" column="status"/>
|
|
|
+ <result property="tenantId" column="tenant_id"/>
|
|
|
+ <result property="userId" column="user_id"/>
|
|
|
+ </resultMap>
|
|
|
|
|
|
+ <select id="selectByDay" parameterType="map" resultMap="RecruitInterviewVoResult">
|
|
|
+ select * from recruit_interview where 1=1
|
|
|
+ <trim prefix='and' prefixOverrides='and'>
|
|
|
+ <if test="year!=null">year=#{year}</if>
|
|
|
+ <if test="month!=null">month=#{month}</if>
|
|
|
+ <if test="day!=null">day=#{day}</if>
|
|
|
+ </trim>
|
|
|
+ </select>
|
|
|
</mapper>
|