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
94c86e6c
Commit
94c86e6c
authored
Sep 13, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
99c595c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
AlarmEventMapper.java
.../amos/boot/module/jxiop/biz/mapper2/AlarmEventMapper.java
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+1
-1
AlarmEventMapper.xml
...iz/src/main/resources/mapper/cluster/AlarmEventMapper.xml
+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/mapper2/AlarmEventMapper.java
View file @
94c86e6c
...
...
@@ -11,7 +11,7 @@ public interface AlarmEventMapper extends BaseMapper<AlarmEvent> {
String
getLastDataBySort
(
String
gatewayId
);
List
<
AlarmEventDto
>
getAlarmEventList
(
String
gatewayId
,
String
stationId
,
int
current
,
int
size
);
List
<
AlarmEventDto
>
getAlarmEventList
(
String
gatewayId
,
String
stationId
);
List
<
String
>
getOldAlarmsBySort
(
String
gatewayId
,
String
sort
);
...
...
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 @
94c86e6c
...
...
@@ -961,7 +961,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
public
ResultsData
getAlarmEventList
(
int
current
,
int
size
,
String
stationId
)
{
List
<
AlarmEventDto
>
alarmEventList
=
alarmEventMapper
.
getAlarmEventList
(
null
,
stationId
,
current
,
size
);
List
<
AlarmEventDto
>
alarmEventList
=
alarmEventMapper
.
getAlarmEventList
(
null
,
stationId
);
// List<AlarmEventDto> sorrtedAlarmEventList = alarmEventList.stream().sorted(Comparator.comparing(AlarmEventDto::getCreatedTime).reversed()).collect(Collectors.toList());
ArrayList
<
Map
<
String
,
String
>>
resultList
=
new
ArrayList
<>();
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/resources/mapper/cluster/AlarmEventMapper.xml
View file @
94c86e6c
...
...
@@ -22,7 +22,7 @@
station_id = #{stationId}
</if>
</where>
order by
sort desc limit #{current},#{size}
order by
event_time desc
</select>
...
...
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