فهرست منبع

Merge branch 'teacher_vip_salary' of http://git.dayaedu.com/yonge/mec into test

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

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

@@ -508,7 +508,9 @@
         GROUP BY cssp.id_
         ORDER BY
         <if test="courseScheduleId != null and orderFlag == 1">
-            status_ DESC,visitFlag,
+            <if test="courseScheduleId != null or (search != null and search != '')">
+                status_ DESC,visitFlag,
+            </if>
         </if>
         CONCAT(cs.class_date_, ' ', cs.start_class_time_) ASC
         <include refid="global.limit"/>