|
@@ -1666,6 +1666,12 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
|
|
List<CourseTimeEntity> timeList = arrangeCourseVo.getTimeList();//选课时间
|
|
List<CourseTimeEntity> timeList = arrangeCourseVo.getTimeList();//选课时间
|
|
Integer consumeTime = arrangeCourseVo.getConsumeTime();
|
|
Integer consumeTime = arrangeCourseVo.getConsumeTime();
|
|
|
|
|
|
|
|
+ log.info("classNum:"+classNum);
|
|
|
|
+ log.info("singleClssTime:"+singleClssTime);
|
|
|
|
+ log.info("n:"+n);
|
|
|
|
+ log.info("消耗时长:"+consumTime);
|
|
|
|
+ log.info("传入时长:"+consumeTime);
|
|
|
|
+
|
|
Integer configValue = Integer.valueOf(sysConfigService.findConfigValue(SysConfigConstant.PIANO_ROOM_MAX_STUDENTS));
|
|
Integer configValue = Integer.valueOf(sysConfigService.findConfigValue(SysConfigConstant.PIANO_ROOM_MAX_STUDENTS));
|
|
if (studentIds.size() > configValue) {
|
|
if (studentIds.size() > configValue) {
|
|
throw new BizException("成课学员人数超过房间最大容量{}", configValue);
|
|
throw new BizException("成课学员人数超过房间最大容量{}", configValue);
|