浏览代码

1、服务指标;
2、增加课外训练待布置学员列表;
3、网管课续费提醒;

Joburgess 5 年之前
父节点
当前提交
472b1e4b8b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentServeServiceImpl.java

+ 3 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentServeServiceImpl.java

@@ -88,8 +88,9 @@ public class StudentServeServiceImpl implements StudentServeService {
                 dontServeInCurrentWeekStudentIds.add(studentCoursesEntry.getKey());
                 continue;
             }
-            long count = haveCourseStudents.stream().filter(e -> GroupType.PRACTICE.equals(e.getGroupType()) ||
-                    (GroupType.MUSIC.equals(e.getGroupType()) && TeachModeEnum.OFFLINE.equals(e.getTeachMode()))).count();
+            long count = haveCourseStudents.stream().filter(e -> (GroupType.PRACTICE.equals(e.getGroupType()) ||
+                    (GroupType.MUSIC.equals(e.getGroupType()) && TeachModeEnum.OFFLINE.equals(e.getTeachMode())))
+                    &&nextMonday.after(e.getCourseStartTime())).count();
             if(count>0){
                 haveClassStudentIds.add(studentCoursesEntry.getKey());
             }else{