|
|
@@ -212,14 +212,15 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
throw new BizException("主教与助教存在冲突");
|
|
|
}
|
|
|
|
|
|
+ //疫情原因去掉这块限制
|
|
|
//基础技能班和线上基础技能班,可分班原则为声部人数/6向上取整
|
|
|
- if (classGroup.getType().equals(HIGH_ONLINE) || classGroup.getType().equals(HIGH)) {
|
|
|
- HighClassGroupNumDto highClassGroupNumDto = getSubjectMaxHighClassGroupNum(classGroup.getMusicGroupId(), classGroup.getType());
|
|
|
- if (highClassGroupNumDto.getNowHighClassGroupNum() >= highClassGroupNumDto.getMaxHighClassGroupNum()) {
|
|
|
- String errMsg = classGroup.getType().equals(HIGH_ONLINE) ? "线上基础技能班" : "基础技能班";
|
|
|
- throw new BizException("此乐团," + errMsg + "数量不能大于" + highClassGroupNumDto.getMaxHighClassGroupNum());
|
|
|
- }
|
|
|
- }
|
|
|
+// if (classGroup.getType().equals(HIGH_ONLINE) || classGroup.getType().equals(HIGH)) {
|
|
|
+// HighClassGroupNumDto highClassGroupNumDto = getSubjectMaxHighClassGroupNum(classGroup.getMusicGroupId(), classGroup.getType());
|
|
|
+// if (highClassGroupNumDto.getNowHighClassGroupNum() >= highClassGroupNumDto.getMaxHighClassGroupNum()) {
|
|
|
+// String errMsg = classGroup.getType().equals(HIGH_ONLINE) ? "线上基础技能班" : "基础技能班";
|
|
|
+// throw new BizException("此乐团," + errMsg + "数量不能大于" + highClassGroupNumDto.getMaxHighClassGroupNum());
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
String userIds = classGroup.getUserIds();
|
|
|
|