瀏覽代碼

bug处理

cy 3 年之前
父節點
當前提交
6ae8914a45

+ 4 - 4
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/CourseScheduleServiceImpl.java

@@ -1392,10 +1392,10 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
                     .in(CourseSchedule::getStatus, statusList)
                     .gt(CourseSchedule::getClassDate, DateUtil.getNowStr()));
 
-            if (CollectionUtils.isEmpty(scheduleList)) {//无人购课直接跳出本次循环
-                idList.add(freeTimeConfig.getTeacherId());
-                continue;
-            }
+//            if (CollectionUtils.isEmpty(scheduleList)) {//无人购课直接跳出本次循环
+//                idList.add(freeTimeConfig.getTeacherId());
+//                continue;
+//            }
 
             //获取一周配置格式化
             List<DateVo> monday = JSONObject.parseArray(freeTimeConfig.getMonday(), DateVo.class);