|
@@ -334,9 +334,7 @@ public class CoursesGroupServiceImpl extends BaseServiceImpl<Long, CoursesGroup>
|
|
|
throw new BizException("请指定课程组");
|
|
|
}
|
|
|
|
|
|
- studentDao.lockUser(userId);
|
|
|
-
|
|
|
- CoursesGroup coursesGroup = coursesGroupDao.get(courseGroupId);
|
|
|
+ CoursesGroup coursesGroup = coursesGroupDao.lockGroup(courseGroupId);
|
|
|
if(Objects.isNull(coursesGroup)){
|
|
|
throw new BizException("此课程组不存在");
|
|
|
}
|