浏览代码

红德堂-总后台营期列表根据营期状态排序

Long 2 周之前
父节点
当前提交
474e521753
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs-service/src/main/resources/mapper/course/FsUserCoursePeriodMapper.xml

+ 1 - 1
fs-service/src/main/resources/mapper/course/FsUserCoursePeriodMapper.xml

@@ -83,7 +83,7 @@
             <if test="periodLine != null "> and period_line = #{periodLine}</if>
         </where>
         group by fs_user_course_period.period_id
-        order by create_time desc
+        order by fs_user_course_period.period_status,create_time desc
     </select>
 
     <select id="selectFsUserCoursePeriodById" parameterType="Long" resultMap="FsUserCoursePeriodResult">