|
@@ -2625,7 +2625,6 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
if (Objects.isNull(classGroup)) {
|
|
|
throw new BizException("班级信息错误");
|
|
|
}
|
|
|
- classGroup = classGroupDao.lockClassGroup(classGroup.getId());
|
|
|
Boolean exist = classGroupStudentMapperDao.existByClassGroupIds(classGroup.getId().toString(), userId);
|
|
|
if (exist) {
|
|
|
throw new BizException("您已加入此课程");
|