Quellcode durchsuchen

新生报到重复问题解决

dzx vor 1 Jahr
Ursprung
Commit
6d6d14919f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/main/resources/mapper/student/StudentReportRecordMapper.xml

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

@@ -49,7 +49,7 @@
         <if test="dto.keyword != null and dto.keyword != ''">
             and t1.name like concat('%', #{dto.keyword},'%')
         </if>
-        ORDER BY t1.create_date DESC, t2.create_date DESC,t3.create_date DESC
+        ORDER BY t1.create_date DESC, t2.create_date DESC,t3.create_date DESC,t1.id
     </select>
     <select id="getStatisticsDataList" parameterType="com.xjrsoft.module.student.dto.StudentReportRecordStatisticsDto"
             resultType="com.xjrsoft.module.student.vo.StudentReportRecordStatisticsListVo">