Ver Fonte

修复租户初始化

zhontai há 2 anos atrás
pai
commit
8f24dc102f

+ 1 - 1
src/platform/ZhonTai.Admin/Services/Tenant/TenantService.cs

@@ -136,7 +136,7 @@ public class TenantService : BaseService, ITenantService, IDynamicApi
             TenantId = tenantId,
             MainOrgId = org.Id
         };
-        await _organizationRepository.InsertAsync(org);
+        await _employeeRepository.InsertAsync(emp);
 
         //添加用户部门
         var userOrg = new EmployeeOrganizationEntity