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
b7ca2deb
Commit
b7ca2deb
authored
Jul 17, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升压站大图API补充
parent
f21b2939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+6
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
b7ca2deb
...
@@ -32,6 +32,7 @@ import org.apache.commons.io.IOUtils;
...
@@ -32,6 +32,7 @@ import org.apache.commons.io.IOUtils;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.eclipse.paho.client.mqttv3.MqttException
;
import
org.eclipse.paho.client.mqttv3.MqttException
;
import
org.elasticsearch.common.recycler.Recycler
;
import
org.elasticsearch.common.recycler.Recycler
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.core.io.Resource
;
import
org.springframework.core.io.Resource
;
...
@@ -1020,6 +1021,11 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1020,6 +1021,11 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
resultMap
.
put
(
"records"
,
resultList
);
resultMap
.
put
(
"records"
,
resultList
);
resultMap
.
put
(
"current"
,
1
);
resultMap
.
put
(
"current"
,
1
);
resultMap
.
put
(
"size"
,
resultList
.
size
());
resultMap
.
put
(
"size"
,
resultList
.
size
());
// 开关信息
Map
<
String
,
Object
>
switchUrl
=
getSwitchUrl
(
gatewayId
,
null
);
BeanUtils
.
copyProperties
(
switchUrl
,
resultMap
);
List
<
Map
<
String
,
Object
>>
finallyResultList
=
Collections
.
singletonList
(
resultMap
);
List
<
Map
<
String
,
Object
>>
finallyResultList
=
Collections
.
singletonList
(
resultMap
);
// 主屏下方重复列表数据
// 主屏下方重复列表数据
IPage
<
Map
<
String
,
Object
>>
resultPage
=
new
Page
<>();
IPage
<
Map
<
String
,
Object
>>
resultPage
=
new
Page
<>();
...
...
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