面试
This commit is contained in:
@@ -330,17 +330,33 @@
|
||||
<select id="listByInterview" resultMap="BaseResultMap">
|
||||
select * from xfsg_line_info
|
||||
where deleted = 0 and line_status = 1
|
||||
<if test="interviewType != null and interviewType == 1">
|
||||
and first_interviewer = #{interviewId}
|
||||
</if>
|
||||
<if test="interviewType != null and interviewType == 2">
|
||||
and second_interviewer = #{interviewId}
|
||||
</if>
|
||||
<if test="codes !=null and codes.size>0">
|
||||
<foreach collection="codes" item="code" open="and workflow_sub_stage_status in (" close=")" separator=",">
|
||||
#{code}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="pendingInterviewStatus != null ">
|
||||
and ((workflow_sub_stage_status = #{pendingInterviewStatus}
|
||||
<if test="interviewType != null and interviewType == 1">
|
||||
and first_interviewer = #{interviewId}
|
||||
</if>
|
||||
<if test="interviewType != null and interviewType == 2">
|
||||
and second_interviewer = #{interviewId}
|
||||
</if>
|
||||
)
|
||||
</if>
|
||||
<if test="notPassingTheInterview != null ">
|
||||
or (workflow_sub_stage_status = #{notPassingTheInterview}
|
||||
<if test="interviewType != null and interviewType == 1">
|
||||
and first_interviewer = #{interviewId}
|
||||
</if>
|
||||
<if test="interviewType != null and interviewType == 2">
|
||||
and second_interviewer = #{interviewId}
|
||||
</if>
|
||||
))
|
||||
</if>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user