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
d8a42455
Commit
d8a42455
authored
Mar 04, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预警产生规则调整。
parent
6071cb0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
HealthStatusIndicatorServiceImpl.java
...op/biz/service/impl/HealthStatusIndicatorServiceImpl.java
+11
-6
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 @
d8a42455
...
...
@@ -265,7 +265,7 @@ public class HealthStatusIndicatorServiceImpl {
//库里若已存在该测点预警 不生成重复的 若新生预警等级高于历史 则生成
LambdaQueryWrapper
<
PvWarningRecord
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
PvWarningRecord:
:
getAnalysisPointId
,
idxBizPvHealthIndices
.
get
(
0
).
getAnalysisObjSeq
());
query
.
eq
(
PvWarningRecord:
:
getStatus
,
0
);
query
.
isNotNull
(
PvWarningRecord:
:
getDisposotionDate
);
query
.
orderByDesc
(
PvWarningRecord:
:
getTs
);
List
<
PvWarningRecord
>
idxBizPvWarningRecords
=
pvWaringRecordMapper
.
selectList
(
query
);
...
...
@@ -433,7 +433,8 @@ public class HealthStatusIndicatorServiceImpl {
//库里若已存在该测点预警 不生成重复的 若新生预警等级高于历史 则生成
LambdaQueryWrapper
<
PvWarningRecord
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
PvWarningRecord:
:
getAnalysisPointId
,
idxBizPvHealthIndices
.
get
(
0
).
getAnalysisObjSeq
());
query
.
eq
(
PvWarningRecord:
:
getStatus
,
0
);
query
.
eq
(
PvWarningRecord:
:
getStatus
,
"0"
);
query
.
isNotNull
(
PvWarningRecord:
:
getDisposotionDate
);
query
.
orderByDesc
(
PvWarningRecord:
:
getRecDate
);
List
<
PvWarningRecord
>
idxBizPvWarningRecords
=
pvWaringRecordMapper
.
selectList
(
query
);
...
...
@@ -599,7 +600,8 @@ public class HealthStatusIndicatorServiceImpl {
//库里若已存在该测点预警 不生成重复的 若新生预警等级高于历史 则生成
LambdaQueryWrapper
<
PvWarningRecord
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
PvWarningRecord:
:
getAnalysisPointId
,
idxBizPvHealthIndices
.
get
(
0
).
getAnalysisObjSeq
());
query
.
eq
(
PvWarningRecord:
:
getStatus
,
0
);
query
.
eq
(
PvWarningRecord:
:
getStatus
,
"0"
);
query
.
isNotNull
(
PvWarningRecord:
:
getDisposotionDate
);
query
.
orderByDesc
(
PvWarningRecord:
:
getTs
);
List
<
PvWarningRecord
>
idxBizPvWarningRecords
=
pvWaringRecordMapper
.
selectList
(
query
);
...
...
@@ -769,7 +771,8 @@ public class HealthStatusIndicatorServiceImpl {
//库里若已存在该测点预警 不生成重复的 若新生预警等级高于历史 则生成
LambdaQueryWrapper
<
FanWarningRecord
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
FanWarningRecord:
:
getAnalysisPointId
,
idxBizFanHealthIndices
.
get
(
0
).
getAnalysisObjSeq
());
query
.
eq
(
FanWarningRecord:
:
getStatus
,
0
);
query
.
eq
(
FanWarningRecord:
:
getStatus
,
"0"
);
query
.
isNotNull
(
FanWarningRecord:
:
getDisposotionDate
);
query
.
orderByDesc
(
FanWarningRecord:
:
getTs
);
List
<
FanWarningRecord
>
idxBizFanWarningRecords
=
fanWaringRecordMapper
.
selectList
(
query
);
...
...
@@ -938,7 +941,8 @@ public class HealthStatusIndicatorServiceImpl {
}
LambdaQueryWrapper
<
FanWarningRecord
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
FanWarningRecord:
:
getAnalysisPointId
,
idxBizFanHealthIndices
.
get
(
0
).
getAnalysisObjSeq
());
query
.
eq
(
FanWarningRecord:
:
getStatus
,
0
);
query
.
eq
(
FanWarningRecord:
:
getStatus
,
"0"
);
query
.
isNotNull
(
FanWarningRecord:
:
getDisposotionDate
);
query
.
orderByDesc
(
FanWarningRecord:
:
getTs
);
List
<
FanWarningRecord
>
idxBizFanWarningRecords
=
fanWaringRecordMapper
.
selectList
(
query
);
...
...
@@ -1111,7 +1115,8 @@ public class HealthStatusIndicatorServiceImpl {
LambdaQueryWrapper
<
FanWarningRecord
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
FanWarningRecord:
:
getAnalysisPointId
,
idxBizFanHealthIndices
.
get
(
0
).
getAnalysisObjSeq
());
query
.
eq
(
FanWarningRecord:
:
getStatus
,
0
);
query
.
eq
(
FanWarningRecord:
:
getStatus
,
"0"
);
query
.
isNotNull
(
FanWarningRecord:
:
getDisposotionDate
);
query
.
orderByDesc
(
FanWarningRecord:
:
getTs
);
List
<
FanWarningRecord
>
idxBizFanWarningRecords
=
fanWaringRecordMapper
.
selectList
(
query
);
...
...
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