change 3 жил өмнө
parent
commit
7895d983e5

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseHandoutsMapper.xml

@@ -88,7 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND s.handouts_name like (concat('%', #{handoutsName}, '%'))
         </if>
         GROUP BY s.handouts_id
-        ORDER BY s.update_time
+        ORDER BY s.update_time desc
     </select>
 
 </mapper>

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

@@ -221,7 +221,7 @@
         <if test="periodStatus != null and periodStatus !='' ">
             and cgu.period_status = #{periodStatus}
         </if>
-        order by cgu.update_time
+        order by cgu.update_time desc
     </select>
 
     <select id="listPeriod" parameterType="com.zhongzheng.modules.grade.bo.ClassGradeUserQueryBo"