cy 3 年之前
父节点
当前提交
f214bbfd81

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

@@ -1666,6 +1666,12 @@ public class CourseScheduleServiceImpl extends ServiceImpl<CourseScheduleDao, Co
         List<CourseTimeEntity> timeList = arrangeCourseVo.getTimeList();//选课时间
         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));
         if (studentIds.size() > configValue) {
             throw new BizException("成课学员人数超过房间最大容量{}", configValue);