浏览代码

优化数据查询

hgw 3 年之前
父节点
当前提交
bd336a477c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

+ 1 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

@@ -145,6 +145,7 @@
         <if test="param.subjectId != null">
         <if test="param.subjectId != null">
             AND b.subject_id_ = #{param.subjectId}
             AND b.subject_id_ = #{param.subjectId}
         </if>
         </if>
+        order by start_time_
     </select>
     </select>
 
 
     <select id="queryTeacherPracticeCourse" resultType="com.yonge.cooleshow.biz.dal.vo.MyCourseVo">
     <select id="queryTeacherPracticeCourse" resultType="com.yonge.cooleshow.biz.dal.vo.MyCourseVo">