From 8f7542559760324c4dd6a2f9795d4c4df21df7af Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 31 十月 2023 14:38:57 +0800 Subject: [PATCH] 1. 修改了数据超标分析模块的类型为数据超标类型 --- src/main/java/com/flightfeather/monitor/analysis/dust/BaseDustExceptionAnalysis.kt | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/flightfeather/monitor/analysis/dust/BaseDustExceptionAnalysis.kt b/src/main/java/com/flightfeather/monitor/analysis/dust/BaseDustExceptionAnalysis.kt index 35cb387..c96f0b0 100644 --- a/src/main/java/com/flightfeather/monitor/analysis/dust/BaseDustExceptionAnalysis.kt +++ b/src/main/java/com/flightfeather/monitor/analysis/dust/BaseDustExceptionAnalysis.kt @@ -32,15 +32,15 @@ /** * 鐢熸垚涓�鏉″紓甯稿垎鏋愮粨鏋� */ - protected fun newResult(p: DustSiteData?, n: DustSiteData): DustExceptionData { + open fun newResult(p: DustSiteData, n: DustSiteData?): DustExceptionData { val eType = getExceptionType() return DustExceptionData().apply { - mnCode = n.mnCode + mnCode = p.mnCode exception = eType.des exceptionType = eType.value region = config.region - beginTime = if (p == null) n.lst else p.lst - endTime = n.lst + beginTime = p.lst + endTime = if (n == null) p.lst else n.lst } } } \ No newline at end of file -- Gitblit v1.9.3