소스 검색

新生报到重复问题解决

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