Merge pull request 'Фикс' (#321) from fix/well_report into dev

Reviewed-on: https://test.digitaldrilling.ru:8443/DDrilling/AsbCloudServer/pulls/321
This commit is contained in:
Никита Фролов 2024-09-05 11:47:44 +05:00
commit ab7947c4aa
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
{ {