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
569366fe
Commit
569366fe
authored
Oct 24, 2022
by
tianyiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6
parents
ee163ea5
988624ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
PressurePumpEnum.java
...om/yeejoin/equipmanage/common/enums/PressurePumpEnum.java
+3
-4
EquipmentSpecificAlarmServiceImpl.java
...anage/service/impl/EquipmentSpecificAlarmServiceImpl.java
+4
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/enums/PressurePumpEnum.java
View file @
569366fe
package
com
.
yeejoin
.
equipmanage
.
common
.
enums
;
package
com
.
yeejoin
.
equipmanage
.
common
.
enums
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.
HashMap
;
import
java.util.
Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
public
enum
PressurePumpEnum
{
public
enum
PressurePumpEnum
{
ALONE_START_YXSC
(
"FHS_PressurePump_Start_ALONE_START_YXSC"
,
""
,
new
Date
().
getSeconds
()+
" "
+
new
Date
().
getMinutes
()
+
"/5 * * * ?"
,
"5"
,
ALONE_START_YXSC
(
"FHS_PressurePump_Start_ALONE_START_YXSC"
,
""
,
"0 0/5 * * * ?"
,
"5"
,
PressurePumpValueEnum
.
PUMP_START_TIME
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ_YXSC
.
getCode
()),
PressurePumpValueEnum
.
PUMP_START_TIME
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ_YXSC
.
getCode
()),
ALONE_START_QT
(
"FHS_PressurePump_Start_ALONE_START_QT"
,
PressurePumpCheckEnum
.
LE
.
getCode
(),
""
,
"5"
,
ALONE_START_QT
(
"FHS_PressurePump_Start_ALONE_START_QT"
,
PressurePumpCheckEnum
.
LE
.
getCode
(),
""
,
"5"
,
PressurePumpValueEnum
.
LAST_STOP
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ
.
getCode
()),
PressurePumpValueEnum
.
LAST_STOP
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ
.
getCode
()),
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificAlarmServiceImpl.java
View file @
569366fe
...
@@ -771,11 +771,12 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
...
@@ -771,11 +771,12 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
}
}
}
}
List
<
Map
<
String
,
Object
>>
list
=
marqueeDataMapper
.
selectAll
();
List
<
Map
<
String
,
Object
>>
list
=
marqueeDataMapper
.
selectAll
();
List
<
Map
<
String
,
Object
>>
re
cords
=
resultPage
.
getRecords
();
List
<
Map
<
String
,
Object
>>
re
sList
=
new
ArrayList
();
for
(
Map
<
String
,
Object
>
stringObjectMap
:
list
)
{
for
(
Map
<
String
,
Object
>
stringObjectMap
:
list
)
{
re
cords
.
add
(
stringObjectMap
);
re
sList
.
add
(
stringObjectMap
);
}
}
records
.
sort
((
t1
,
t2
)
->
t2
.
get
(
"createDate"
).
toString
().
compareTo
(
t1
.
get
(
"createDate"
).
toString
()));
resList
.
sort
((
t1
,
t2
)
->
t2
.
get
(
"createDate"
).
toString
().
compareTo
(
t1
.
get
(
"createDate"
).
toString
()));
resultPage
.
setRecords
(
resList
);
return
resultPage
;
return
resultPage
;
}
}
...
...
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