|
@@ -2755,7 +2755,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
boolean onlineToOffline = courseSchedules.get(courseStartDates.size() - 1).getTeachMode().equals(TeachModeEnum.ONLINE)
|
|
|
&&vipGroupCourseAdjustInfo.getTeachMode().equals(TeachModeEnum.OFFLINE);
|
|
|
if(onlineToOffline&&!vipGroupActivity.getAllowOnlineToOffline()){
|
|
|
- throw new BizException("VIP课不支持从线上调整到线下");
|
|
|
+ throw new BizException("此VIP课活动不支持线上课调整为线下课");
|
|
|
}
|
|
|
if(onlineToOffline&&Objects.isNull(vipGroupCourseAdjustInfo.getSchoolId())){
|
|
|
throw new BizException("请选择教学点");
|
|
@@ -3379,7 +3379,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
|
|
|
throw new BizException("课程组信息异常");
|
|
|
}
|
|
|
if(TeachModeEnum.OFFLINE.equals(newCourseSchedule.getTeachMode())&&TeachModeEnum.ONLINE.equals(oldCourseSchedule.getTeachMode())&&!vipGroupActivity.getAllowOnlineToOffline()){
|
|
|
- throw new BizException("VIP课不支持从线上调整到线下");
|
|
|
+ throw new BizException("此VIP课活动不支持线上课调整为线下课");
|
|
|
}
|
|
|
}
|
|
|
|