|
@@ -651,7 +651,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
Long studentNum = classGroupStudentNumMap.get(classGroupAndTeacher.getId());
|
|
Long studentNum = classGroupStudentNumMap.get(classGroupAndTeacher.getId());
|
|
studentNum = Objects.isNull(studentNum) ? 0 : studentNum;
|
|
studentNum = Objects.isNull(studentNum) ? 0 : studentNum;
|
|
if(classGroupAndTeacher.getType().equals(ClassGroupTypeEnum.HIGH_ONLINE) && (studentNum < 3 || studentNum > 5)){
|
|
if(classGroupAndTeacher.getType().equals(ClassGroupTypeEnum.HIGH_ONLINE) && (studentNum < 3 || studentNum > 5)){
|
|
- String numWaring = studentNum < 3 ? "人数不能小于3\r\n" : "人数不能大于5\r\n";
|
|
|
|
|
|
+ String numWaring = studentNum < 3 ? "人数不能小于3," : "人数不能大于5,";
|
|
waringStr += classGroupAndTeacher.getName()+numWaring;
|
|
waringStr += classGroupAndTeacher.getName()+numWaring;
|
|
}
|
|
}
|
|
//班级的教师列表
|
|
//班级的教师列表
|