|
@@ -5205,6 +5205,13 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ SysUser sysUser = sysUserService.queryUserById(studentId);
|
|
|
+ if (Objects.isNull(sysUser)) {
|
|
|
+ throw new BizException("用户不存在");
|
|
|
+ }
|
|
|
+ if(courseSchedule.getTenantId().equals(sysUser.getTenantId())) {
|
|
|
+ throw new BizException("用户不属于此机构");
|
|
|
+ }
|
|
|
|
|
|
Integer studentRemindTime = Integer.parseInt(sysConfigService.findByParamName(SysConfigService.LIVE_CLASS_START_REMIND_TIME).getParanValue());
|
|
|
|