forked from ddrilling/AsbCloudServer
правка багов получения статистики качества
This commit is contained in:
parent
31cf44653c
commit
1889e378e7
@ -127,7 +127,7 @@ public class DataSaubStatDrillingQualityService : IDataSaubStatDrillingQualitySe
|
|||||||
while (indexEnd < dataSaub.Count() - 1)
|
while (indexEnd < dataSaub.Count() - 1)
|
||||||
{
|
{
|
||||||
indexStart = Array.FindIndex(dataSaub, indexEnd, t => t.IdFeedRegulator == idFeedRegulator);
|
indexStart = Array.FindIndex(dataSaub, indexEnd, t => t.IdFeedRegulator == idFeedRegulator);
|
||||||
if (indexStart < 0)
|
if (indexStart < 0 || indexStart == dataSaub.Count() - 1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
indexEnd = FindIndexEnd(indexStart, idFeedRegulator, dataSaub);
|
indexEnd = FindIndexEnd(indexStart, idFeedRegulator, dataSaub);
|
||||||
|
Loading…
Reference in New Issue
Block a user