班级编辑
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user