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
3b3b7626
Commit
3b3b7626
authored
Jan 06, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报警列表修改
parent
06e0fd72
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
0 deletions
+13
-0
AlarmListDataVO.java
...va/com/yeejoin/equipmanage/common/vo/AlarmListDataVO.java
+2
-0
EquipmentAlarmController.java
...join/equipmanage/controller/EquipmentAlarmController.java
+5
-0
EquipmentSpecificAlarmServiceImpl.java
...anage/service/impl/EquipmentSpecificAlarmServiceImpl.java
+1
-0
EquipmentSpecificAlarmMapper.xml
...rc/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
+5
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/vo/AlarmListDataVO.java
View file @
3b3b7626
...
@@ -32,4 +32,6 @@ public class AlarmListDataVO {
...
@@ -32,4 +32,6 @@ public class AlarmListDataVO {
private
Long
alarmId
;
private
Long
alarmId
;
private
String
alarmTypeCode
;
private
String
alarmTypeCode
;
private
String
cleanStatus
;
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/EquipmentAlarmController.java
View file @
3b3b7626
...
@@ -200,6 +200,7 @@ public class EquipmentAlarmController extends AbstractBaseController {
...
@@ -200,6 +200,7 @@ public class EquipmentAlarmController extends AbstractBaseController {
@RequestParam
(
value
=
"systemCode"
,
required
=
false
)
String
systemCode
,
@RequestParam
(
value
=
"systemCode"
,
required
=
false
)
String
systemCode
,
@RequestParam
(
value
=
"buildId"
,
required
=
false
)
String
buildId
,
@RequestParam
(
value
=
"buildId"
,
required
=
false
)
String
buildId
,
// @RequestParam(value = "equipmentCode", required = false) String equipmentCode,
// @RequestParam(value = "equipmentCode", required = false) String equipmentCode,
@RequestParam
(
value
=
"id"
,
required
=
false
)
String
id
,
CommonPageable
commonPageable
)
{
CommonPageable
commonPageable
)
{
List
<
CommonRequest
>
queryRequests
=
new
ArrayList
<>();
List
<
CommonRequest
>
queryRequests
=
new
ArrayList
<>();
CommonRequest
request
=
new
CommonRequest
();
CommonRequest
request
=
new
CommonRequest
();
...
@@ -235,6 +236,10 @@ public class EquipmentAlarmController extends AbstractBaseController {
...
@@ -235,6 +236,10 @@ public class EquipmentAlarmController extends AbstractBaseController {
request9
.
setName
(
"buildId"
);
request9
.
setName
(
"buildId"
);
request9
.
setValue
(
StringUtil
.
isNotEmpty
(
buildId
)
?
StringUtils
.
trimToNull
(
buildId
)
:
null
);
request9
.
setValue
(
StringUtil
.
isNotEmpty
(
buildId
)
?
StringUtils
.
trimToNull
(
buildId
)
:
null
);
queryRequests
.
add
(
request9
);
queryRequests
.
add
(
request9
);
CommonRequest
request10
=
new
CommonRequest
();
request10
.
setName
(
"id"
);
request10
.
setValue
(
StringUtil
.
isNotEmpty
(
id
)
?
StringUtils
.
trimToNull
(
id
)
:
null
);
queryRequests
.
add
(
request10
);
CommonPageInfoParam
param
=
CommonPageParamUtil
.
fillCommonPageInfoParam
(
queryRequests
,
commonPageable
);
CommonPageInfoParam
param
=
CommonPageParamUtil
.
fillCommonPageInfoParam
(
queryRequests
,
commonPageable
);
org
.
springframework
.
data
.
domain
.
Page
<
AlarmListDataVO
>
list
=
iEquipmentSpecificAlarmService
.
listAlarmsPage
(
param
);
org
.
springframework
.
data
.
domain
.
Page
<
AlarmListDataVO
>
list
=
iEquipmentSpecificAlarmService
.
listAlarmsPage
(
param
);
return
CommonResponseUtil
.
success
(
list
);
return
CommonResponseUtil
.
success
(
list
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificAlarmServiceImpl.java
View file @
3b3b7626
...
@@ -212,6 +212,7 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
...
@@ -212,6 +212,7 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
dataVO
.
setEquipSpeId
(
Long
.
valueOf
(
String
.
valueOf
(
x
.
get
(
"fireEquipmentId"
))));
dataVO
.
setEquipSpeId
(
Long
.
valueOf
(
String
.
valueOf
(
x
.
get
(
"fireEquipmentId"
))));
dataVO
.
setAlarmId
(
Long
.
valueOf
(
String
.
valueOf
(
x
.
get
(
"alarmId"
))));
dataVO
.
setAlarmId
(
Long
.
valueOf
(
String
.
valueOf
(
x
.
get
(
"alarmId"
))));
dataVO
.
setAlarmTypeCode
(
String
.
valueOf
(
x
.
get
(
"fireEquipmentSpecificIndexKey"
)));
dataVO
.
setAlarmTypeCode
(
String
.
valueOf
(
x
.
get
(
"fireEquipmentSpecificIndexKey"
)));
dataVO
.
setCleanStatus
(
String
.
valueOf
(
x
.
get
(
"cleanStatus"
)));
res
.
add
(
dataVO
);
res
.
add
(
dataVO
);
});
});
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
View file @
3b3b7626
...
@@ -294,6 +294,11 @@
...
@@ -294,6 +294,11 @@
'已处理',
'已处理',
'去确认'
'去确认'
) handleStatus,
) handleStatus,
IF (
wlesal.clean_time
<![CDATA[<>]]>
'',
'已消除',
'未消除'
) cleanStatus,
wlesal.confirm_type AS handleType,
wlesal.confirm_type AS handleType,
wlesal.system_codes AS systemCodes,
wlesal.system_codes AS systemCodes,
wlesal.equipment_index_id AS fireEquipmentIndexId,
wlesal.equipment_index_id AS fireEquipmentIndexId,
...
...
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