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
5ace1142
Commit
5ace1142
authored
Jul 07, 2025
by
litengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
告警列表优化
parent
738177bd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
PressurePumpEnum.java
...om/yeejoin/equipmanage/common/enums/PressurePumpEnum.java
+2
-2
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+6
-1
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 @
5ace1142
...
...
@@ -10,7 +10,7 @@ public enum PressurePumpEnum {
ALONE_START_YXSC
(
"FHS_PressurePump_Start_ALONE_START_YXSC"
,
""
,
LocalDateTime
.
now
().
getSecond
()
+
" "
+
(
LocalDateTime
.
now
().
getMinute
())
+
"/5 * * * ?"
,
"5"
,
PressurePumpValueEnum
.
PUMP_START_TIME
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ_YXSC
.
getCode
(),
"【5】分钟"
),
ALONE_START_QT
(
"FHS_PressurePump_Start_ALONE_START_QT"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"0
.5
"
,
"5"
,
ALONE_START_QT
(
"FHS_PressurePump_Start_ALONE_START_QT"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"0"
,
"5"
,
PressurePumpValueEnum
.
LAST_START
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ
.
getCode
(),
"【5】分钟"
),
ALONE_START_QT_WJ
(
"FHS_PressurePump_Start_ALONE_START_QT_WJ"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"5"
,
"30"
,
...
...
@@ -19,7 +19,7 @@ public enum PressurePumpEnum {
ALONE_START_QT_YZ
(
"FHS_PressurePump_Start_ALONE_START_QT_YZ"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"30"
,
"60"
,
PressurePumpValueEnum
.
LAST_START
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_YZ
.
getCode
(),
"【1】小时"
),
ALL_START_QT_WJ
(
"FHS_PressurePump_Start_ALL_START_QT_WJ"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"0
.5
"
,
"5"
,
ALL_START_QT_WJ
(
"FHS_PressurePump_Start_ALL_START_QT_WJ"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"0"
,
"5"
,
PressurePumpValueEnum
.
LATELY_START
.
getCode
(),
PressurePumpMessageEnum
.
MESSAGE_LEVEL_QT_WJ
.
getCode
(),
"【5】分钟"
),
START_QT_WJ_ALL
(
"FHS_PressurePump_Start_ALL_START_QT_YZ"
,
PressurePumpCheckEnum
.
BE
.
getCode
(),
"5"
,
"30"
,
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/MqttReceiveServiceImpl.java
View file @
5ace1142
...
...
@@ -1207,7 +1207,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
public
void
realTimeDateProcessing
(
TopicEntityVo
topicEntity
,
List
<
IotDataVO
>
iotDatalist
,
EquipmentSpecificVo
vo
)
{
String
iotCode
=
topicEntity
.
getIotCode
();
if
(
EquipAndCarEnum
.
equip
.
type
.
equals
(
topicEntity
.
getType
()))
{
List
<
EquipmentSpecificIndex
>
indexList
=
null
;
List
<
EquipmentSpecificIndex
>
indexList
=
equipmentSpecificIndexService
.
getEquipmentSpeIndexBySpeIotCode
(
iotCode
)
;
// equipmentSpecificIndexService.getEquipmentSpeIndexBySpeIotCode(iotCode);
if
(
ObjectUtils
.
isEmpty
(
indexList
))
{
return
;
...
...
@@ -1768,8 +1768,13 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
ResponseModel
<
Map
<
String
,
Integer
>>
mapResponseModel
=
iotFeign
.
queryIotDataNumByIndex
(
startDate
,
endDate
,
prefix
,
suffix
,
pressurePumpStart
,
"true"
);
if
(
200
==
mapResponseModel
.
getStatus
())
{
Map
<
String
,
Integer
>
result
=
mapResponseModel
.
getResult
();
if
(
null
!=
result
)
{
Integer
totalNum
=
result
.
get
(
"num"
);
return
totalNum
;
}
else
{
return
0
;
}
}
return
0
;
}
...
...
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