forked from ddrilling/AsbCloudServer
Merge pull request '#23929061 Добавлена сортировка секций' (#151) from fix/well_info_service into dev
Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/151
This commit is contained in:
commit
5459fbdd5c
@ -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