forked from ddrilling/AsbCloudServer
fix clusterService
This commit is contained in:
parent
f13b757a84
commit
f0f9d1df73
@ -27,7 +27,7 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
.Include(w => w.Cluster)
|
.Include(w => w.Cluster)
|
||||||
.ThenInclude(c => c.Deposit)
|
.ThenInclude(c => c.Deposit)
|
||||||
where well.RelationCompaniesWells.Any(r => r.IdCompany == idCompany)
|
where well.RelationCompaniesWells.Any(r => r.IdCompany == idCompany)
|
||||||
select well).AsNoTracking().ToListAsync(token);
|
select well).ToListAsync(token); // Do not use AsNoTracking(). Next Grouping doesn't work.
|
||||||
|
|
||||||
var gDepositEntities = wellEntities
|
var gDepositEntities = wellEntities
|
||||||
.GroupBy(w => w.Cluster)
|
.GroupBy(w => w.Cluster)
|
||||||
|
Loading…
Reference in New Issue
Block a user