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
e42073aa
Commit
e42073aa
authored
Aug 18, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.更新健康指数算法id
parent
9e47332b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
CommonServiceImpl.java
...boot/module/jxiop/biz/service/impl/CommonServiceImpl.java
+2
-3
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/CommonServiceImpl.java
View file @
e42073aa
...
...
@@ -70,7 +70,7 @@ public class CommonServiceImpl {
String
gkzxzjskey2
;
//----------------健康指数值计算相关请求属性配置------------------------
@Value
(
"${jkzsjs.url:
6cbdb627-4824-4aa8-ae3d-6b5021b690b5
}"
)
@Value
(
"${jkzsjs.url:
80538a37-2c68-431b-9aa1-bcab88d88f9e
}"
)
String
jkzsjsurl
;
...
...
@@ -690,7 +690,7 @@ public class CommonServiceImpl {
return
s
;
}
@Scheduled
(
cron
=
"0
/10 *
* * * ?"
)
@Scheduled
(
cron
=
"0
0/10
* * * ?"
)
private
void
healthWarningMinute
()
{
List
<
IdxBizFanPointProcessVariableClassificationDto
>
data
=
idxBizFanPointProcessVariableClassificationMapper
.
getInfluxDBData
();
Map
<
String
,
List
<
IdxBizFanPointProcessVariableClassificationDto
>>
maps
=
data
.
stream
().
collect
(
Collectors
.
groupingBy
(
IdxBizFanPointProcessVariableClassificationDto:
:
getGatewayId
));
...
...
@@ -770,7 +770,6 @@ public class CommonServiceImpl {
logger
.
info
(
"------------------------------------------开始调用健康指数计算算法开始----------------------------------------"
);
HashMap
<
String
,
Object
>
realParams
=
new
HashMap
<>();
realParams
.
put
(
gkzxzjskey1
,
values
);
String
s
=
JSON
.
toJSONString
(
realParams
);
String
response
=
HttpUtil
.
createPost
(
baseUrl
+
jkzsjsurl
).
body
(
JSON
.
toJSONString
(
realParams
)).
execute
().
body
();
try
{
logger
.
info
(
"--------------------repsonse: "
+
response
);
...
...
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