diff --git a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/org/service/impl/SysOrgServiceImpl.java b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/org/service/impl/SysOrgServiceImpl.java index ec55cec7..6bbc3884 100755 --- a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/org/service/impl/SysOrgServiceImpl.java +++ b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/org/service/impl/SysOrgServiceImpl.java @@ -53,6 +53,9 @@ import java.util.Set; public class SysOrgServiceImpl extends CrudServiceImpl implements ISysOrgService { + /** 顶级ID */ + private static final String TOP_PARENT_ID = "0"; + @Autowired(required = false) private SysOrgMapper mapper; @@ -74,7 +77,16 @@ public class SysOrgServiceImpl extends CrudServiceImpl