From 357c5a3c4659f1fe9e46e8c20827ab757c5d3929 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期四, 14 十二月 2023 15:27:34 +0800
Subject: [PATCH] 增加数据请求配置表和异常分析配置表的接口

---
 src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionApproachExceeding.kt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionApproachExceeding.kt b/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionApproachExceeding.kt
index c334f4f..720ffce 100644
--- a/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionApproachExceeding.kt
+++ b/src/main/java/com/flightfeather/monitor/analysis/dust/exception/ExceptionApproachExceeding.kt
@@ -18,6 +18,6 @@
 
     override fun judgeDuration(sIndex: Int, eIndex: Int): Boolean {
         // 鍒ゆ柇鏁版嵁涓磋繎瓒呮爣鏁伴噺鏄惁杩炵画瓒呰繃闄愬畾涓暟
-        return (eIndex - sIndex) >= config.nearExceedNum
+        return (eIndex - 1 - sIndex) >= config.nearExceedNum
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3