Joburgess 5 years ago
parent
commit
96ab5a96d8

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/CourseScheduleServiceImpl.java

@@ -2561,7 +2561,7 @@ public class CourseScheduleServiceImpl extends BaseServiceImpl<Long, CourseSched
 				throw new BizException("非进行中课程组不允许进行此操作");
 			}
 
-			if(newCourseSchedule.getStartClassTime().after(now)){
+			if(Objects.nonNull(vipGroup)&&newCourseSchedule.getStartClassTime().after(now)){
 				vipGroup.setStatus(VipGroupStatusEnum.PROGRESS);
 			}