forked from ddrilling/AsbCloudServer
OperationsStatService.GetTvdAsync()
Fin exception then empty operations.
This commit is contained in:
parent
99fa1d83a7
commit
f6ac5b5a98
@ -431,6 +431,9 @@ namespace AsbCloudInfrastructure.Services.WellOperationService
|
||||
var tzOffsetHours = wellService.GetTimezone(idWell).Hours;
|
||||
|
||||
var merged = MergeArraysBySections(sectionsIds, wellOperationsPlan, wellOperationsFact).ToList();
|
||||
if (merged.Count ==0)
|
||||
return Enumerable.Empty<PlanFactPredictBase<WellOperationDto>>();
|
||||
|
||||
var tvd = new List<PlanFactPredictBase<WellOperationDto>>(merged.Count);
|
||||
var (Plan, Fact) = merged.FirstOrDefault();
|
||||
var dateStart = Plan?.DateStart ?? Fact!.DateStart;
|
||||
|
Loading…
Reference in New Issue
Block a user