forked from ddrilling/AsbCloudServer
Merge pull request 'fix/#drilling-quality-stat' (#337) from fix/#drilling-quality-stat into dev
Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/337
This commit is contained in:
commit
dc7c126ee2
@ -127,7 +127,7 @@ public class DataSaubStatDrillingQualityService : IDataSaubStatDrillingQualitySe
|
||||
while (indexEnd < dataSaub.Count() - 1)
|
||||
{
|
||||
indexStart = Array.FindIndex(dataSaub, indexEnd, t => t.IdFeedRegulator == idFeedRegulator);
|
||||
if (indexStart < 0)
|
||||
if (indexStart < 0 || indexStart == dataSaub.Count() - 1)
|
||||
break;
|
||||
|
||||
indexEnd = FindIndexEnd(indexStart, idFeedRegulator, dataSaub);
|
||||
|
Loading…
Reference in New Issue
Block a user