forked from ddrilling/AsbCloudServer
FIX Sequence contains no elements
at OperationsStatService.GetTvdAsync
This commit is contained in:
parent
7252c68f72
commit
14f3b16a7d
@ -432,7 +432,7 @@ namespace AsbCloudInfrastructure.Services.WellOperationService
|
|||||||
|
|
||||||
var merged = MergeArraysBySections(sectionsIds, wellOperationsPlan, wellOperationsFact).ToList();
|
var merged = MergeArraysBySections(sectionsIds, wellOperationsPlan, wellOperationsFact).ToList();
|
||||||
var tvd = new List<PlanFactPredictBase<WellOperationDto>>(merged.Count);
|
var tvd = new List<PlanFactPredictBase<WellOperationDto>>(merged.Count);
|
||||||
var (Plan, Fact) = merged.First();
|
var (Plan, Fact) = merged.FirstOrDefault();
|
||||||
var dateStart = Plan?.DateStart ?? Fact!.DateStart;
|
var dateStart = Plan?.DateStart ?? Fact!.DateStart;
|
||||||
int? iLastMatch = null;
|
int? iLastMatch = null;
|
||||||
int iLastFact = 0;
|
int iLastFact = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user