From 70a7d1ec98064e1acb3130e56e16c45af52ade6c Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 24 十月 2023 12:03:49 +0800 Subject: [PATCH] 新增数据分析模块完成 --- 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