浏览代码

1、服务指标逻辑调整;

Joburgess 5 年之前
父节点
当前提交
c7f355be2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

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

@@ -395,7 +395,7 @@
             s.teacher_id_,
             cs.group_type_,
             cs.teach_mode_,
-            IF(CONCAT( cs.class_date_, ' ', cs.end_class_time_ )<NOW() AND sa.status_!='NORMAL', NULL, cs.class_date_) course_start_time_
+            IF(CONCAT( cs.class_date_, ' ', cs.end_class_time_ )<NOW() AND (sa.status_ != 'NORMAL' OR sa.status_ IS NULL), NULL, cs.class_date_) course_start_time_
         FROM
             student s
             LEFT JOIN course_schedule_student_payment cssp ON cssp.user_id_ = s.user_id_