Просмотр исходного кода

Merge branch 'cloud_homework_update' of http://git.dayaedu.com/yonge/mec

zouxuan 4 лет назад
Родитель
Сommit
8e056d48b7
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 != ''">
         <if test="courseType != null and courseType != ''">
             AND FIND_IN_SET(cs.type_,#{courseType})
             AND FIND_IN_SET(cs.type_,#{courseType})
         </if>
         </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"/>
         <include refid="global.limit"/>
     </select>
     </select>
     <select id="countHomeworkPojoByCourseScheduleIds" resultType="java.lang.Integer">
     <select id="countHomeworkPojoByCourseScheduleIds" resultType="java.lang.Integer">