Browse Source

租户新增增加默认机构类型

test
smallchill 5 years ago
parent
commit
c299ba11dd
  1. 1
      blade-service/blade-system/src/main/java/org/springblade/system/service/impl/TenantServiceImpl.java

1
blade-service/blade-system/src/main/java/org/springblade/system/service/impl/TenantServiceImpl.java

@ -77,6 +77,7 @@ public class TenantServiceImpl extends BaseServiceImpl<TenantMapper, Tenant> 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);

Loading…
Cancel
Save