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
77c46594
Commit
77c46594
authored
Feb 10, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
cfcfc6de
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
TopographyController.java
.../yeejoin/equipmanage/controller/TopographyController.java
+0
-0
EquipmentSpecificAlarmServiceImpl.java
...anage/service/impl/EquipmentSpecificAlarmServiceImpl.java
+2
-2
EquipmentSpecificAlarmMapper.xml
...rc/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
+7
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/TopographyController.java
View file @
77c46594
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificAlarmServiceImpl.java
View file @
77c46594
...
@@ -252,8 +252,8 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
...
@@ -252,8 +252,8 @@ public class EquipmentSpecificAlarmServiceImpl extends ServiceImpl<EquipmentSpec
||
AlarmTypeEnum
.
PB
.
getCode
().
equals
(
type
))
{
||
AlarmTypeEnum
.
PB
.
getCode
().
equals
(
type
))
{
dataVO
.
setAlarmType
(
AlarmTypeEnum
.
getTypeByCode
(
String
.
valueOf
(
type
)));
dataVO
.
setAlarmType
(
AlarmTypeEnum
.
getTypeByCode
(
String
.
valueOf
(
type
)));
}
}
dataVO
.
setAlarmContent
(
x
.
get
(
"fireEquipmentName"
)
+
dataVO
.
getAlarmType
(
));
dataVO
.
setAlarmContent
(
String
.
valueOf
(
x
.
get
(
"alamContent"
)
));
dataVO
.
setHandleType
(
null
==
x
.
get
(
"handleType"
)
?
null
:
String
.
valueOf
(
x
.
get
(
"handleType"
)));
dataVO
.
setHandleType
(
null
==
x
.
get
(
"handleType"
)
?
null
:
ConfirmAlamEnum
.
getTypeByCode
(
String
.
valueOf
(
x
.
get
(
"handleType"
)
)));
res
.
add
(
dataVO
);
res
.
add
(
dataVO
);
});
});
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
View file @
77c46594
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
wlesal.create_date AS createDate,
wlesal.create_date AS createDate,
wlesal.build_id AS buildId,
wlesal.build_id AS buildId,
wlesa.recovery_date AS recoveryDate,
wlesa.recovery_date AS recoveryDate,
wlesal.location
AS warehouseStructureName,
CONCAT_WS(' ',ware.full_name,wsd.description)
AS warehouseStructureName,
(
(
SELECT
SELECT
group_concat(fet.`name`)
group_concat(fet.`name`)
...
@@ -349,7 +349,12 @@
...
@@ -349,7 +349,12 @@
FROM
FROM
wl_equipment_specific_alarm_log wlesal
wl_equipment_specific_alarm_log wlesal
LEFT JOIN wl_equipment we ON wlesal.equipment_code = we.code
LEFT JOIN wl_equipment we ON wlesal.equipment_code = we.code
LEFT JOIN wl_equipment_specific_alarm wlesa ON wlesa.id = wlesal.equipment_specific_alarm_id) d
LEFT JOIN wl_equipment_specific wles ON wlesal.equipment_specific_id = wles.id
LEFT JOIN wl_equipment_specific_alarm wlesa ON wlesa.id = wlesal.equipment_specific_alarm_id
LEFT JOIN wl_stock_detail as wsd on wsd.equipment_specific_id = wlesal.equipment_specific_id
LEFT JOIN wl_warehouse_structure as ware on wsd.warehouse_structure_id = ware.id
LEFT JOIN wl_equipment_detail wled ON wles.equipment_detail_id = wled.id
) d
WHERE d.fireEquipmentName IS NOT NULL
WHERE d.fireEquipmentName IS NOT NULL
<if
test=
"param.warehouseStructureName != null and param.warehouseStructureName != ''"
>
and
<if
test=
"param.warehouseStructureName != null and param.warehouseStructureName != ''"
>
and
d.warehouseStructureName like
d.warehouseStructureName like
...
...
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