Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
d27ec3dd
Commit
d27ec3dd
authored
Mar 04, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预警等级显示错误问题处理
parent
69bbed26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
12 deletions
+23
-12
HealthStatusIndicatorServiceImpl.java
...op/biz/service/impl/HealthStatusIndicatorServiceImpl.java
+23
-12
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/HealthStatusIndicatorServiceImpl.java
View file @
d27ec3dd
...
...
@@ -250,12 +250,14 @@ public class HealthStatusIndicatorServiceImpl {
level
=
"注意"
;
num
=
""
+
healthValueNotice
;
content
=
healthValueNoticeCount
*
10
+
"分钟"
;
}
else
if
(
warnNum
==
healthValueWarnCount
){
}
if
(
warnNum
==
healthValueWarnCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_warn_minute","warn");
level
=
"警告"
;
num
=
""
+
healthValueWarn
;
content
=
healthValueWarnCount
*
10
+
"分钟"
;
}
else
if
(
riskNum
==
healthValueRiskCount
){
}
if
(
riskNum
==
healthValueRiskCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_risk_minute","risk");
level
=
"危险"
;
num
=
""
+
healthValueRisk
;
...
...
@@ -420,12 +422,14 @@ public class HealthStatusIndicatorServiceImpl {
level
=
"注意"
;
num
=
""
+
healthValueNotice
;
content
=
healthValueNoticeCount
+
"小时"
;
}
else
if
(
warnNum
==
healthValueWarnCount
){
}
if
(
warnNum
==
healthValueWarnCount
){
level
=
"警告"
;
num
=
""
+
healthValueWarn
;
content
=
healthValueWarnCount
+
"小时"
;
}
else
if
(
riskNum
==
healthValueRiskCount
){
}
if
(
riskNum
==
healthValueRiskCount
){
level
=
"危险"
;
num
=
""
+
healthValueRisk
;
content
=
healthValueRiskCount
+
"小时"
;
...
...
@@ -586,12 +590,14 @@ public class HealthStatusIndicatorServiceImpl {
level
=
"注意"
;
num
=
""
+
healthValueNotice
;
content
=
healthValueNoticeCount
+
"天"
;
}
else
if
(
warnNum
==
healthValueWarnCount
){
}
if
(
warnNum
==
healthValueWarnCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_warn_day","warn");
level
=
"警告"
;
num
=
""
+
healthValueWarn
;
content
=
healthValueWarnCount
+
"天"
;
}
else
if
(
riskNum
==
healthValueRiskCount
){
}
if
(
riskNum
==
healthValueRiskCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_risk_day","risk");
level
=
"危险"
;
num
=
""
+
healthValueRisk
;
...
...
@@ -757,12 +763,13 @@ public class HealthStatusIndicatorServiceImpl {
num
=
""
+
healthValueNotice
;
content
=
healthValueNoticeCount
*
10
+
"分钟"
;
}
else
if
(
warnNum
==
healthValueWarnCount
){
if
(
warnNum
==
healthValueWarnCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_warn_day","warn");
level
=
"警告"
;
num
=
""
+
healthValueWarn
;
content
=
healthValueWarnCount
*
10
+
"分钟"
;
}
else
if
(
riskNum
==
healthValueRiskCount
){
}
if
(
riskNum
==
healthValueRiskCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_risk_day","risk");
level
=
"危险"
;
num
=
""
+
healthValueRisk
;
...
...
@@ -929,12 +936,14 @@ public class HealthStatusIndicatorServiceImpl {
level
=
"注意"
;
num
=
""
+
healthValueNotice
;
content
=
healthValueNoticeCount
+
"小时"
;
}
else
if
(
warnNum
==
healthValueWarnCount
){
}
if
(
warnNum
==
healthValueWarnCount
){
level
=
"警告"
;
num
=
""
+
healthValueWarn
;
content
=
healthValueWarnCount
+
"小时"
;
}
else
if
(
riskNum
==
healthValueRiskCount
){
}
if
(
riskNum
==
healthValueRiskCount
){
level
=
"危险"
;
num
=
""
+
healthValueRisk
;
content
=
healthValueRiskCount
+
"小时"
;
...
...
@@ -1101,12 +1110,14 @@ public class HealthStatusIndicatorServiceImpl {
level
=
"注意"
;
num
=
""
+
healthValueNotice
;
content
=
healthValueNoticeCount
+
"天"
;
}
else
if
(
warnNum
==
healthValueWarnCount
){
}
if
(
warnNum
==
healthValueWarnCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_warn_day","warn");
level
=
"警告"
;
num
=
""
+
healthValueWarn
;
content
=
healthValueWarnCount
+
"天"
;
}
else
if
(
riskNum
==
healthValueRiskCount
){
}
if
(
riskNum
==
healthValueRiskCount
){
// redisUtils.set(gateWayId+"_"+address+"_health_risk_day","risk");
level
=
"危险"
;
num
=
""
+
healthValueRisk
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment