1. Шаблон, добавил формулу
2. Фикс рассчёта НВП
This commit is contained in:
Степанов Дмитрий 2024-09-05 10:52:36 +05:00
parent 05d3a9d7b7
commit eb7a3283f8
2 changed files with 1 additions and 2 deletions

View File

@ -83,8 +83,7 @@ public class WellReportService : IWellReportService
var planTrajectories = await trajectoryPlanRepository.GetAsync(idWell, token); var planTrajectories = await trajectoryPlanRepository.GetAsync(idWell, token);
var factTrajectories = await trajectoryFactRepository.GetAsync(idWell, token); var factTrajectories = await trajectoryFactRepository.GetAsync(idWell, token);
var factOperationsWithoutNpt = factWellOperations.Where(o => WellOperationCategory.NonProductiveTimeSubIds var factOperationsWithoutNpt = factWellOperations.Where(o => !WellOperationCategory.NonProductiveTimeSubIds.Contains(o.IdCategory));
.Any(x => x != o.IdCategory));
return new WellReportDto return new WellReportDto
{ {