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
100996c7
Commit
100996c7
authored
Mar 15, 2022
by
chenhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://39.98.45.134:8090/moa/amos-boot-biz
into developer
parents
37c6f426
63a3ad2d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
EquipSpecificAlarmDTO.java
.../equipmanage/common/entity/dto/EquipSpecificAlarmDTO.java
+4
-0
EquipmentMapper.xml
...ystem-equip/src/main/resources/mapper/EquipmentMapper.xml
+1
-1
EquipmentSpecificAlarmMapper.xml
...rc/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
+10
-6
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/entity/dto/EquipSpecificAlarmDTO.java
View file @
100996c7
...
@@ -81,4 +81,7 @@ public class EquipSpecificAlarmDTO {
...
@@ -81,4 +81,7 @@ public class EquipSpecificAlarmDTO {
@ApiModelProperty
(
value
=
"时间轴"
)
@ApiModelProperty
(
value
=
"时间轴"
)
private
String
dateAxis
;
private
String
dateAxis
;
@ApiModelProperty
(
value
=
"图片"
)
private
String
eqimg
;
}
}
\ No newline at end of file
amos-boot-system-equip/src/main/resources/mapper/EquipmentMapper.xml
View file @
100996c7
...
@@ -136,7 +136,7 @@
...
@@ -136,7 +136,7 @@
left join wl_stock_detail wlsbd on wleq.qr_code = wlsbd.qr_code
left join wl_stock_detail wlsbd on wleq.qr_code = wlsbd.qr_code
LEFT JOIN wl_system_dic wlsd ON wlsd.id = wled.country
LEFT JOIN wl_system_dic wlsd ON wlsd.id = wled.country
left join wl_warehouse_structure as stru on wlsbd.warehouse_structure_id = stru.id
left join wl_warehouse_structure as stru on wlsbd.warehouse_structure_id = stru.id
where wleq.
qr_
code=#{qrCode}
where wleq.code=#{qrCode}
</select>
</select>
<select
id=
"getImportantEquipmentList"
resultMap=
"ImportantEquipmentVO"
>
<select
id=
"getImportantEquipmentList"
resultMap=
"ImportantEquipmentVO"
>
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
View file @
100996c7
...
@@ -961,25 +961,29 @@
...
@@ -961,25 +961,29 @@
select
select
b.address warehouseStructureName,
b.address warehouseStructureName,
b.eqname fireEquipmentName,
b.eqname fireEquipmentName,
b.
qr
code fireEquipmentCode,
b.code fireEquipmentCode,
b.eqimg eqimg,
b.eqimg eqimg,
b.alarmTime alarmTime,
IFNULL(( select DISTINCT wl_equipment_specific_alarm.`status` from wl_equipment_specific_alarm where
IFNULL(( select DISTINCT wl_equipment_specific_alarm.`status` from wl_equipment_specific_alarm where
wl_equipment_specific_alarm.`status`=1 and wl_equipment_specific_alarm.equipment_detail_id=b.eqid ), 0) `status`
wl_equipment_specific_alarm.`status`=1 and wl_equipment_specific_alarm.equipment_detail_id=b.eqid ), 0) `status`
from
from
(select
(select
wl_warehouse_structure.full_name address,
wl_warehouse_structure.full_name address,
wl_equipment_detail.name eqname,
wl_equipment_detail.name eqname,
wl_
stock_detail.qr_code qr
code,
wl_
equipment_specific.code
code,
wl_equipment
_detail
.img eqimg,
wl_equipment.img eqimg,
wl_equipment_detail.id eqid,
wl_equipment_detail.id eqid,
wl_equipment_specific.system_id
wl_equipment_specific.system_id,
wl_equipment_specific_alarm.create_date alarmTime
from wl_equipment_detail
from wl_equipment_detail
LEFT JOIN wl_equipment_specific ON wl_equipment_specific.equipment_detail_id = wl_equipment_detail.id
LEFT JOIN wl_equipment_specific ON wl_equipment_specific.equipment_detail_id = wl_equipment_detail.id
LEFT JOIN (select DISTINCT wl_equipment_index.equipment_id from wl_equipment_index where
LEFT JOIN (select DISTINCT wl_equipment_index.equipment_id from wl_equipment_index where
wl_equipment_index.is_iot=1) b on b.equipment_id=wl_equipment_detail.equipment_id
wl_equipment_index.is_iot=1) b on b.equipment_id=wl_equipment_detail.equipment_id
LEFT JOIN wl_stock_detail on wl_equipment_detail.id =wl_stock_detail.equipment_detail_id
LEFT JOIN wl_stock_detail on wl_equipment_detail.id =wl_stock_detail.equipment_detail_id
LEFT JOIN wl_warehouse_structure on wl_stock_detail.warehouse_structure_id = wl_warehouse_structure.id
LEFT JOIN wl_warehouse_structure on wl_stock_detail.warehouse_structure_id = wl_warehouse_structure.id
LEFT JOIN wl_equipment on wl_equipment.id = wl_equipment_detail.equipment_id where wl_equipment.is_iot = 1
LEFT JOIN wl_equipment on wl_equipment.id = wl_equipment_detail.equipment_id
LEFT JOIN wl_equipment_specific_alarm on wl_equipment_specific_alarm.equipment_detail_id=wl_equipment_detail.id
where wl_equipment.is_iot = 1
)b
)b
)m
)m
<where>
<where>
...
@@ -999,7 +1003,7 @@
...
@@ -999,7 +1003,7 @@
AND systemIds in (#{dto.systemIds})
AND systemIds in (#{dto.systemIds})
</if>
</if>
</where>
</where>
ORDER BY status DESC
ORDER BY status DESC
,alarmTime DESC
</select>
</select>
<select
id=
"getConfirmUser"
resultType=
"com.yeejoin.equipmanage.common.entity.EquipmentSpecificAlarmLog"
>
<select
id=
"getConfirmUser"
resultType=
"com.yeejoin.equipmanage.common.entity.EquipmentSpecificAlarmLog"
>
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
100996c7
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
FIND_IN_SET(spe.id,ss.point_in_scene)) = 0,0,1) as isBinding,-- 一个装备可在多个系统使用
FIND_IN_SET(spe.id,ss.point_in_scene)) = 0,0,1) as isBinding,-- 一个装备可在多个系统使用
</if>
</if>
if(spe.code is null,eqdet.name,concat(eqdet.name,'(',spe.code,')')) as displayName,
if(spe.code is null,eqdet.name,concat(eqdet.name,'(',spe.code,')')) as displayName,
'{\"width\":
42, \"height\": 42
}'as initStyle,
'{\"width\":
20, \"height\": 20
}'as initStyle,
'CommonEquip' as componentName,
'CommonEquip' as componentName,
spe.id as sequenceNbr,
spe.id as sequenceNbr,
'equipment' as componentKey,
'equipment' as componentKey,
...
...
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