Преглед изворни кода

新生报到重复问题解决

dzx пре 1 година
родитељ
комит
6d6d14919f
1 измењених фајлова са 1 додато и 1 уклоњено
  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">