diff --git a/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/TenantServiceImpl.java b/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/TenantServiceImpl.java index f9221a8b..7aa8a102 100644 --- a/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/TenantServiceImpl.java +++ b/blade-service/blade-system/src/main/java/org/springblade/system/service/impl/TenantServiceImpl.java @@ -77,6 +77,7 @@ public class TenantServiceImpl extends BaseServiceImpl imp dept.setParentId(BladeConstant.TOP_PARENT_ID); dept.setDeptName(tenant.getTenantName()); dept.setFullName(tenant.getTenantName()); + dept.setDeptCategory(1); dept.setSort(2); dept.setIsDeleted(0); deptMapper.insert(dept);