|
@@ -267,7 +267,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
// 创建账号、用户信息、用户和角色关系
|
|
|
createUser(tenantInfo, orgId, Lists.newArrayList(roleId));
|
|
|
//建立角色和菜单关系数据
|
|
|
- Lists.partition(collectMenuId, 200)
|
|
|
+ Lists.partition(collectMenuId, 50)
|
|
|
.forEach(idList -> employeeService.batchInsertRoleMenu(roleId, idList, tenantId));
|
|
|
//创建资产信息
|
|
|
TenantAssetsInfo assetsInfo = new TenantAssetsInfo();
|