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
cf4f81b8
Commit
cf4f81b8
authored
Oct 15, 2023
by
高东东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预警记录添加字段
parent
a1536d7c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
IdxBizFanWarningRecord.java
.../boot/module/jxiop/biz/entity/IdxBizFanWarningRecord.java
+4
-0
HealthStatusIndicatorServiceImpl.java
...op/biz/service/impl/HealthStatusIndicatorServiceImpl.java
+3
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/entity/IdxBizFanWarningRecord.java
View file @
cf4f81b8
...
...
@@ -135,4 +135,8 @@ public class IdxBizFanWarningRecord{
* */
@TableField
(
"CONTENT"
)
private
String
CONTENT
;
@TableField
(
"POINT_NAME"
)
private
String
pointName
;
}
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 @
cf4f81b8
...
...
@@ -523,6 +523,7 @@ public class HealthStatusIndicatorServiceImpl {
idxBizFanWarningRecord
.
setRecDate
(
new
Date
());
idxBizFanWarningRecord
.
setNumber
(
idxBizFanHealthIndices
.
get
(
0
).
getNumber
());
idxBizFanWarningRecord
.
setHealthIndexSeq
(
idxBizFanHealthIndices
.
get
(
0
).
getSequenceNbr
());
idxBizFanWarningRecord
.
setPointName
(
idxBizFanHealthIndices
.
get
(
0
).
getPointName
());
idxBizFanWarningRecordMapper
.
insert
(
idxBizFanWarningRecord
);
}
}
...
...
@@ -639,6 +640,7 @@ public class HealthStatusIndicatorServiceImpl {
idxBizFanWarningRecord
.
setRecDate
(
new
Date
());
idxBizFanWarningRecord
.
setNumber
(
idxBizFanHealthIndices
.
get
(
0
).
getNumber
());
idxBizFanWarningRecord
.
setHealthIndexSeq
(
idxBizFanHealthIndices
.
get
(
0
).
getSequenceNbr
());
idxBizFanWarningRecord
.
setPointName
(
idxBizFanHealthIndices
.
get
(
0
).
getPointName
());
idxBizFanWarningRecordMapper
.
insert
(
idxBizFanWarningRecord
);
}
}
...
...
@@ -753,7 +755,7 @@ public class HealthStatusIndicatorServiceImpl {
idxBizFanWarningRecord
.
setRecDate
(
new
Date
());
idxBizFanWarningRecord
.
setNumber
(
idxBizFanHealthIndices
.
get
(
0
).
getNumber
());
idxBizFanWarningRecord
.
setHealthIndexSeq
(
idxBizFanHealthIndices
.
get
(
0
).
getSequenceNbr
());
idxBizFanWarningRecord
.
setPointName
(
idxBizFanHealthIndices
.
get
(
0
).
getPointName
());
idxBizFanWarningRecordMapper
.
insert
(
idxBizFanWarningRecord
);
}
}
...
...
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