|
|
@@ -5,10 +5,11 @@
|
|
|
<mapper namespace="com.xjrsoft.module.student.mapper.BaseNewStudentMapper">
|
|
|
<select id="getPage" parameterType="com.xjrsoft.module.student.dto.BaseNewStudentPageDto" resultType="com.xjrsoft.module.student.vo.BaseNewStudentPageVo">
|
|
|
SELECT t1.id,t1.graduate_school,t1.name,t1.gender,t2.name AS gender_cn,t1.credential_number,t1.height,t1.weight,
|
|
|
- t1.score,t1.graduate_class,t1.source,t1.stduy_status,t3.name AS stduy_status_cn,t1.mobile,t1.first_ambition,
|
|
|
+ t1.score,t1.graduate_class,t1.source,t5.name as source_cn,t1.stduy_status,t3.name AS stduy_status_cn,t1.mobile,t1.first_ambition,
|
|
|
t1.second_ambition,t1.is_adjust,t1.status FROM base_new_student t1
|
|
|
LEFT JOIN xjr_dictionary_detail t2 ON t1.gender = t2.code AND t2.item_id = 2023000000000000004
|
|
|
LEFT JOIN xjr_dictionary_detail t3 ON t1.stduy_status = t3.code AND t3.item_id = 2023000000000000030
|
|
|
+ LEFT JOIN xjr_dictionary_detail t5 ON t1.source = t5.code AND t5.item_id = 2023000000000000028
|
|
|
LEFT JOIN enrollment_plan t4 ON t1.enrollment_plan_id = t4.id
|
|
|
WHERE t1.delete_mark = 0
|
|
|
<if test="dto.name != null and dto.name != ''">
|