|
@@ -24,7 +24,7 @@ public interface MainExamApplyMapper extends BaseMapperPlus<MainExamApply, MainE
|
|
|
a.id,
|
|
a.id,
|
|
|
a.evaluation_id AS evaluationId,
|
|
a.evaluation_id AS evaluationId,
|
|
|
e.evaluation_name AS evaluationName,
|
|
e.evaluation_name AS evaluationName,
|
|
|
- e.position AS positionName,
|
|
|
|
|
|
|
+ p.post_name AS positionName,
|
|
|
a.student_id AS studentId,
|
|
a.student_id AS studentId,
|
|
|
a.apply_status AS applyStatus,
|
|
a.apply_status AS applyStatus,
|
|
|
a.final_result AS finalResult,
|
|
a.final_result AS finalResult,
|
|
@@ -46,6 +46,7 @@ public interface MainExamApplyMapper extends BaseMapperPlus<MainExamApply, MainE
|
|
|
a.create_time AS createTime
|
|
a.create_time AS createTime
|
|
|
FROM main_exam_apply a
|
|
FROM main_exam_apply a
|
|
|
LEFT JOIN main_exam_evaluation e ON a.evaluation_id = e.id AND IFNULL(e.del_flag, '0') = '0'
|
|
LEFT JOIN main_exam_evaluation e ON a.evaluation_id = e.id AND IFNULL(e.del_flag, '0') = '0'
|
|
|
|
|
+ LEFT JOIN main_position p ON e.position_id = p.id
|
|
|
WHERE IFNULL(a.del_flag, '0') = '0'
|
|
WHERE IFNULL(a.del_flag, '0') = '0'
|
|
|
AND a.student_id = #{studentId}
|
|
AND a.student_id = #{studentId}
|
|
|
ORDER BY COALESCE(a.finished_time, a.update_time, a.create_time) DESC, a.id DESC
|
|
ORDER BY COALESCE(a.finished_time, a.update_time, a.create_time) DESC, a.id DESC
|