fix 必须分配基地
This commit is contained in:
@@ -84,12 +84,6 @@ public class TenantService : ITenantService
|
||||
})
|
||||
.ToListAsync();
|
||||
|
||||
if (!myTenants.Any())
|
||||
{
|
||||
myTenants = await GetListAsync();
|
||||
myTenants = myTenants.Where(x => x.PCode.IsPresent()).ToList();
|
||||
}
|
||||
|
||||
var currentTenant = myTenants.FirstOrDefault(x => x.Code == tenantId);
|
||||
var otherTenants = myTenants.Where(x => x.Code != tenantId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user