Фикс получения последней даты определённой операции

This commit is contained in:
Степанов Дмитрий 2024-07-25 12:49:53 +03:00
parent ccffb5e8e5
commit acfe9ab000

View File

@ -238,9 +238,7 @@ public class DetectedOperationService : IDetectedOperationService
positionBegin += 1; positionBegin += 1;
} }
var lastDate = lastDetectedOperation?.DateEnd ?? detectableTelemetries[positionEnd].DateTime; return (detectableTelemetries[positionBegin].DateTime, detectedOperations);
return (lastDate, detectedOperations);
} }
public async Task<int> DeleteAsync(DetectedOperationByWellRequest request, CancellationToken token) public async Task<int> DeleteAsync(DetectedOperationByWellRequest request, CancellationToken token)