班级编辑

This commit is contained in:
2026-08-20 19:44:05 +08:00
parent b54e1ad6e9
commit 54317837a9
@@ -115,7 +115,7 @@ public class SchClassHigherService {
entity.setGroupId(parentId);
List<SelectIntVO> classGroupList = comSchTreeService.getSchGroupTypeList(schId, NodeType.CLASS.getId()).get(schsystemId);
if (classGroupList != null && classGroupList.size()==0){
if (classGroupList == null || classGroupList.size()==0){
BoaGroup classGroup= sendUserBaseService.addGroup(entity.getName(),parentId,startSort,NodeType.CLASS,schId);
parentId=classGroup.getId();
}else {