Fix well service

This commit is contained in:
ngfrolov 2023-06-29 11:33:20 +05:00
parent 959b9d5480
commit 9d2124673c
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -96,8 +96,6 @@ namespace AsbCloudInfrastructure.Services
dto ??= well.Adapt<WellMapInfoDto>();
dto.Latitude ??= gCluster.Key.Latitude ?? gDeposit.Key.Latitude;
dto.Longitude ??= gCluster.Key.Longitude ?? gDeposit.Key.Longitude;
if (well.IdTelemetry is not null)
dto.LastTelemetryDate = telemetryService.GetDatesRange(well.IdTelemetry.Value).To;
return dto;
}),