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
63bb682c
Commit
63bb682c
authored
Jul 28, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
d08d1ead
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+1
-1
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 @
63bb682c
...
...
@@ -591,7 +591,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
param
.
append
(
" and equipmentSpecificName =~/"
+
split
[
i
]+
"/"
)
;
}
String
sql1
=
"SELECT DISTINCT value FROM iot_data_"
+
gatewayId
+
" WHERE equipmentIndexName = '有功功率'"
+
param
+
" and time >='"
+
time
+
"'GROUP BY time(2m)"
;
String
sql1
=
"SELECT DISTINCT value FROM iot_data_"
+
gatewayId
+
" WHERE equipmentIndexName = '有功功率'"
+
param
+
"
and time >='"
+
time
+
"'GROUP BY time(2m)"
;
List
<
IndicatorsDto
>
indicatorsDtoLists
=
influxDButils
.
getListDataAll
(
sql1
,
IndicatorsDto
.
class
);
LinkedHashMap
<
String
,
String
>
collects
=
indicatorsDtoLists
.
stream
().
collect
(
Collectors
.
toMap
(
IndicatorsDto:
:
getTime
,
IndicatorsDto:
:
getDistinct
,(
key1
,
ky2
)->
(
String
)
key1
,
LinkedHashMap:
:
new
));
Collection
<
String
>
valuess
=
collects
.
values
();
...
...
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