Ver código fonte

试读报到导出,无班级学生排序到最后

dzx 10 meses atrás
pai
commit
9849e423fb

+ 1 - 1
src/main/resources/mapper/student/StudentReportRecordMapper.xml

@@ -363,6 +363,6 @@
         <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 is null desc,t5.name
+        ORDER BY t1.report_time IS NULL DESC, t1.report_time DESC,t5.name is null,t5.name
     </select>
 </mapper>