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
63a3ad2d
Commit
63a3ad2d
authored
Mar 14, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e6c07b6c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
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
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 @
63a3ad2d
...
...
@@ -81,4 +81,7 @@ public class EquipSpecificAlarmDTO {
@ApiModelProperty
(
value
=
"时间轴"
)
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 @
63a3ad2d
...
...
@@ -136,7 +136,7 @@
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_warehouse_structure as stru on wlsbd.warehouse_structure_id = stru.id
where wleq.
qr_
code=#{qrCode}
where wleq.code=#{qrCode}
</select>
<select
id=
"getImportantEquipmentList"
resultMap=
"ImportantEquipmentVO"
>
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificAlarmMapper.xml
View file @
63a3ad2d
...
...
@@ -961,25 +961,29 @@
select
b.address warehouseStructureName,
b.eqname fireEquipmentName,
b.
qr
code fireEquipmentCode,
b.code fireEquipmentCode,
b.eqimg eqimg,
b.alarmTime alarmTime,
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`
from
(select
wl_warehouse_structure.full_name address,
wl_equipment_detail.name eqname,
wl_
stock_detail.qr_code qr
code,
wl_equipment
_detail
.img eqimg,
wl_
equipment_specific.code
code,
wl_equipment.img eqimg,
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
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
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_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
)m
<where>
...
...
@@ -999,7 +1003,7 @@
AND systemIds in (#{dto.systemIds})
</if>
</where>
ORDER BY status DESC
ORDER BY status DESC
,alarmTime DESC
</select>
<select
id=
"getConfirmUser"
resultType=
"com.yeejoin.equipmanage.common.entity.EquipmentSpecificAlarmLog"
>
...
...
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