Selaa lähdekoodia

新生报到重复问题解决

dzx 1 vuosi sitten
vanhempi
commit
6d6d14919f

+ 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">