|
|
@@ -221,7 +221,7 @@
|
|
|
</select>
|
|
|
|
|
|
|
|
|
- <select id="getTryReadingPage" parameterType="com.xjrsoft.module.student.dto.StudentReportRecordPageDto" resultType="com.xjrsoft.module.student.vo.StudentReportRecordPlanPageVo">
|
|
|
+ <select id="getTryReadingPage" parameterType="com.xjrsoft.module.student.dto.StudentTryReadingReportPageDto" resultType="com.xjrsoft.module.student.vo.StudentReportRecordPlanPageVo">
|
|
|
SELECT t1.id, t1.user_id, t4.name AS grade_name,t5.name AS class_name,t6.name AS teacher_name,
|
|
|
t3.name,t7.name AS gender,t3.credential_number,t3.mobile,t8.name AS student_type_cn,
|
|
|
t9.name AS stduy_status_cn,t3.gender,t13.name as major_name,t14.name as class_type,
|
|
|
@@ -272,13 +272,13 @@
|
|
|
and t3.credential_number like concat('%', #{dto.credentialNumber}, '%')
|
|
|
</if>
|
|
|
<if test="dto.archivesStatus != null and dto.archivesStatus != ''">
|
|
|
- and t1.archives_status = #{dto.archivesStatus}
|
|
|
+ and t3.archives_status = #{dto.archivesStatus}
|
|
|
</if>
|
|
|
<if test="dto.stduyStatus != null and dto.stduyStatus != ''">
|
|
|
- and t1.stduy_status = #{dto.stduyStatus}
|
|
|
+ and t3.stduy_status = #{dto.stduyStatus}
|
|
|
</if>
|
|
|
<if test="dto.studentType != null and dto.studentType != ''">
|
|
|
- and t1.student_type = #{dto.studentType}
|
|
|
+ and t3.source = #{dto.studentType}
|
|
|
</if>
|
|
|
<if test="dto.isReport != null">
|
|
|
<if test="dto.isReport == 1">
|
|
|
@@ -291,9 +291,9 @@
|
|
|
<if test="dto.reportTimeStart != null and dto.reportTimeEnd != null">
|
|
|
and t1.report_time between #{dto.reportTimeStart} and #{dto.reportTimeEnd}
|
|
|
</if>
|
|
|
- ORDER BY t1.report_time IS NULL DESC, t1.report_time DESC,t5.name
|
|
|
+ ORDER BY t1.report_time IS NULL DESC, t1.report_time DESC,t5.name is null desc,t5.name
|
|
|
</select>
|
|
|
- <select id="getTryReadingList" parameterType="com.xjrsoft.module.student.dto.StudentReportRecordPageDto" resultType="com.xjrsoft.module.student.vo.StudentReportRecordPlanPageVo">
|
|
|
+ <select id="getTryReadingList" parameterType="com.xjrsoft.module.student.dto.StudentTryReadingReportPageDto" resultType="com.xjrsoft.module.student.vo.StudentReportRecordPlanPageVo">
|
|
|
SELECT t1.id, t1.user_id, t4.name AS grade_name,t5.name AS class_name,t6.name AS teacher_name,
|
|
|
t3.name,t7.name AS gender,t3.credential_number,t3.mobile,t8.name AS student_type_cn,
|
|
|
t9.name AS stduy_status_cn,t3.gender,t13.name as major_name,t14.name as class_type,
|
|
|
@@ -350,7 +350,7 @@
|
|
|
and t3.stduy_status = #{dto.stduyStatus}
|
|
|
</if>
|
|
|
<if test="dto.studentType != null and dto.studentType != ''">
|
|
|
- and t3.student_type = #{dto.studentType}
|
|
|
+ and t3.source = #{dto.studentType}
|
|
|
</if>
|
|
|
<if test="dto.isReport != null">
|
|
|
<if test="dto.isReport == 1">
|