Commit c3f4624c authored by KeYong's avatar KeYong

修改导出bug

parent b09e5df6
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
END AS fireEquipmentPointValue, END AS fireEquipmentPointValue,
wlesal.type AS type, wlesal.type AS type,
wlesal.create_date AS createDate, wlesal.create_date AS createDate,
wlesal.location AS warehouseStructureName, CONCAT_WS(' ', ware.full_name, wsd.description ) AS warehouseStructureName,
( (
SELECT SELECT
group_concat(fet.`name`) group_concat(fet.`name`)
...@@ -459,6 +459,8 @@ ...@@ -459,6 +459,8 @@
FROM FROM
wl_equipment_specific_alarm_log wlesal wl_equipment_specific_alarm_log wlesal
LEFT JOIN wl_equipment_specific wles ON wlesal.equipment_specific_id = wles.id LEFT JOIN wl_equipment_specific wles ON wlesal.equipment_specific_id = wles.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
) d ) d
<where> <where>
<if test="warehouseStructureName != null and warehouseStructureName != ''"> <if test="warehouseStructureName != null and warehouseStructureName != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment