Commit 4874f462 authored by litengwei's avatar litengwei

Merge remote-tracking branch 'origin/develop_dl_3.6.0.6' into develop_dl_3.6.0.6

parents fcfa524a 6043b918
...@@ -752,7 +752,7 @@ ...@@ -752,7 +752,7 @@
es.`name`, es.`name`,
es.`name` AS aliasname, es.`name` AS aliasname,
es.`code`, es.`code`,
ed.`name` AS categoryname, e.`name` AS categoryname,
ed.`code` AS categorycode, ed.`code` AS categorycode,
( SELECT GROUP_CONCAT( url ) FROM wl_upload_file WHERE file_type = 'image' AND object_type = 'equipment' AND object_id = ed.id ) AS img, ( SELECT GROUP_CONCAT( url ) FROM wl_upload_file WHERE file_type = 'image' AND object_type = 'equipment' AND object_id = ed.id ) AS img,
es.iot_code AS iotcode, es.iot_code AS iotcode,
...@@ -774,6 +774,7 @@ ...@@ -774,6 +774,7 @@
FROM FROM
wl_equipment_specific es wl_equipment_specific es
LEFT JOIN wl_equipment_detail ed ON es.equipment_detail_id = ed.id LEFT JOIN wl_equipment_detail ed ON es.equipment_detail_id = ed.id
LEFT JOIN wl_equipment e ON ed.equipment_id = e.id
LEFT JOIN wl_stock_detail sd ON sd.equipment_specific_id = es.id LEFT JOIN wl_stock_detail sd ON sd.equipment_specific_id = es.id
LEFT JOIN wl_warehouse_structure ws ON ws.id = sd.warehouse_structure_id LEFT JOIN wl_warehouse_structure ws ON ws.id = sd.warehouse_structure_id
LEFT JOIN wl_area a ON es.area_id = a.id LEFT JOIN wl_area a ON es.area_id = a.id
......
...@@ -2201,7 +2201,7 @@ ...@@ -2201,7 +2201,7 @@
and fs.biz_org_code like concat(#{bizOrgCode}, '%') and fs.biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
</where> </where>
ORDER BY stateDesc ORDER BY stateDesc, `fs`.`id`
</select> </select>
<select id="getEquipAlarmInfoNum" resultType="java.util.Map"> <select id="getEquipAlarmInfoNum" resultType="java.util.Map">
......
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