forked from ddrilling/AsbCloudServer
Фикс получения последней даты определённой операции
This commit is contained in:
parent
ccffb5e8e5
commit
acfe9ab000
@ -238,9 +238,7 @@ public class DetectedOperationService : IDetectedOperationService
|
||||
positionBegin += 1;
|
||||
}
|
||||
|
||||
var lastDate = lastDetectedOperation?.DateEnd ?? detectableTelemetries[positionEnd].DateTime;
|
||||
|
||||
return (lastDate, detectedOperations);
|
||||
return (detectableTelemetries[positionBegin].DateTime, detectedOperations);
|
||||
}
|
||||
|
||||
public async Task<int> DeleteAsync(DetectedOperationByWellRequest request, CancellationToken token)
|
||||
|
Loading…
Reference in New Issue
Block a user