فهرست منبع

云教练作业优化排序

zouxuan 3 سال پیش
والد
کامیت
3e201d2e61
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

@@ -4059,7 +4059,7 @@
         <if test="courseType != null and courseType != ''">
             AND FIND_IN_SET(cs.type_,#{courseType})
         </if>
-        ORDER BY cs.class_date_,cs.start_class_time_,cs.id_
+        ORDER BY cs.class_date_ DESC,cs.start_class_time_ DESC,cs.id_ DESC
         <include refid="global.limit"/>
     </select>
     <select id="countHomeworkPojoByCourseScheduleIds" resultType="java.lang.Integer">