|
@@ -1740,7 +1740,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
classGroup4MixDto.setCourseTimes(totalMinutes/(int)courseDuration);
|
|
classGroup4MixDto.setCourseTimes(totalMinutes/(int)courseDuration);
|
|
|
|
|
|
|
|
if(classGroup4MixDto.getCourseTimes()<=0){
|
|
if(classGroup4MixDto.getCourseTimes()<=0){
|
|
|
- throw new BizException("{}课程类型暂无剩余课程时长", classGroup4MixDto.getCourseType().getMsg());
|
|
|
|
|
|
|
+ throw new BizException("{}课程类型剩余课程时长不足", classGroup4MixDto.getCourseType().getMsg());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int times = 0;
|
|
int times = 0;
|
|
@@ -2027,7 +2027,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
classGroup4MixDto.setCourseTimes(totalMinutes/(int)courseDuration);
|
|
classGroup4MixDto.setCourseTimes(totalMinutes/(int)courseDuration);
|
|
|
|
|
|
|
|
if(classGroup4MixDto.getCourseTimes()<=0){
|
|
if(classGroup4MixDto.getCourseTimes()<=0){
|
|
|
- throw new BizException("{}课程类型暂无剩余课程时长", classGroup4MixDto.getCourseType().getMsg());
|
|
|
|
|
|
|
+ throw new BizException("{}课程类型剩余课程时长不足", classGroup4MixDto.getCourseType().getMsg());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int times = 0;
|
|
int times = 0;
|
|
@@ -2317,7 +2317,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
classGroup4MixDto.setCourseTimes(totalMinutes/(int)courseDuration);
|
|
classGroup4MixDto.setCourseTimes(totalMinutes/(int)courseDuration);
|
|
|
|
|
|
|
|
if(classGroup4MixDto.getCourseTimes()<=0){
|
|
if(classGroup4MixDto.getCourseTimes()<=0){
|
|
|
- throw new BizException("{}课程类型暂无剩余课程时长", classGroup4MixDto.getCourseType().getMsg());
|
|
|
|
|
|
|
+ throw new BizException("{}课程类型剩余课程时长不足", classGroup4MixDto.getCourseType().getMsg());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int times = 0;
|
|
int times = 0;
|