|
@@ -994,7 +994,7 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
|
|
|
throw new BizException("订单不存在!");
|
|
|
}
|
|
|
|
|
|
- //lock_改为0,课程&组状态改为ING
|
|
|
+ //lock_改为0,课程组状态改为ING
|
|
|
List<Long> scheduleIds = paymentList.stream().map(CourseScheduleStudentPayment::getCourseId).collect(Collectors.toList());
|
|
|
baseMapper.updateLock(scheduleIds);
|
|
|
UpdateWrapper<CourseGroup> warp = new UpdateWrapper<>();
|
|
@@ -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);
|