forked from ddrilling/AsbCloudServer
Fix ClusterService
This commit is contained in:
parent
06eb85e275
commit
c55086bfee
@ -129,14 +129,12 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
Caption = gDeposit.Key.Caption,
|
Caption = gDeposit.Key.Caption,
|
||||||
Latitude = gDeposit.Key.Latitude,
|
Latitude = gDeposit.Key.Latitude,
|
||||||
Longitude = gDeposit.Key.Longitude,
|
Longitude = gDeposit.Key.Longitude,
|
||||||
Description = "",
|
|
||||||
Clusters = gDeposit.Select(gCluster => new ClusterDto
|
Clusters = gDeposit.Select(gCluster => new ClusterDto
|
||||||
{
|
{
|
||||||
Id = gCluster.Key.Id,
|
Id = gCluster.Key.Id,
|
||||||
Caption = gCluster.Key.Caption,
|
Caption = gCluster.Key.Caption,
|
||||||
Latitude = gCluster.Key.Latitude,
|
Latitude = gCluster.Key.Latitude,
|
||||||
Longitude = gCluster.Key.Longitude,
|
Longitude = gCluster.Key.Longitude,
|
||||||
Description = "",
|
|
||||||
Wells = gCluster.Select(well => {
|
Wells = gCluster.Select(well => {
|
||||||
var dto = well.Adapt<WellDto>();
|
var dto = well.Adapt<WellDto>();
|
||||||
dto.WellType = well.WellType?.Caption;
|
dto.WellType = well.WellType?.Caption;
|
||||||
|
Loading…
Reference in New Issue
Block a user