|
@@ -108,6 +108,9 @@ public class GroupClassServiceImpl implements GroupClassService {
|
|
|
if(Objects.isNull(groupId)){
|
|
|
throw new BizException("请指定课程组");
|
|
|
}
|
|
|
+ if(Objects.isNull(groupType)){
|
|
|
+ throw new BizException("请指定课程组类型");
|
|
|
+ }
|
|
|
if(groupType.equals(GroupType.PRACTICE)){
|
|
|
PracticeGroup practiceGroup = practiceGroupDao.get(groupId);
|
|
|
if(Objects.isNull(practiceGroup)){
|