forked from ddrilling/AsbCloudServer
Добавлена сортировка секций
This commit is contained in:
parent
d130d3ca5e
commit
559acd0ebb
@ -82,7 +82,7 @@ public class WellInfoService
|
||||
}
|
||||
|
||||
var wellOperationsStat = operationsStat.FirstOrDefault(s => s.Id == well.Id);
|
||||
var wellLastFactSection = wellOperationsStat?.Sections.LastOrDefault(s => s.Fact is not null);
|
||||
var wellLastFactSection = wellOperationsStat?.Sections.OrderBy(s => s.Fact?.WellDepthStart).LastOrDefault(s => s.Fact is not null);
|
||||
currentDepth ??= wellLastFactSection?.Fact?.WellDepthEnd;
|
||||
|
||||
var wellProcessMaps = processMapPlanWellDrillings
|
||||
|
Loading…
Reference in New Issue
Block a user