Commit d85435bb authored by lisong's avatar lisong

添加字段返回

parent b4b85e94
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
wel.warehouse_structure_id wel.warehouse_structure_id
</select> </select>
<select id="selectFireMonitor" resultType="java.util.Map"> <select id="selectFireMonitor" resultType="java.util.Map">
SELECT temp.name, temp.alarm , SELECT temp.name, temp.alarm ,temp.id,
IFNULL((SELECT wesi.value FROM wl_equipment_specific_index wesi WHERE wesi.equipment_specific_id = temp.id AND wesi.equipment_index_key = 'CAFS_CAFSFireGun_FireGunPressure' IFNULL((SELECT wesi.value FROM wl_equipment_specific_index wesi WHERE wesi.equipment_specific_id = temp.id AND wesi.equipment_index_key = 'CAFS_CAFSFireGun_FireGunPressure'
ORDER BY wesi.update_date desc LIMIT 1),0) AS value, ORDER BY wesi.update_date desc LIMIT 1),0) AS value,
...@@ -164,6 +164,7 @@ ...@@ -164,6 +164,7 @@
</select> </select>
<select id="selectFoamTank" resultType="java.util.Map"> <select id="selectFoamTank" resultType="java.util.Map">
SELECT SELECT
temp.id,
temp.name, temp.name,
temp.nowLevel, temp.nowLevel,
temp.volume, temp.volume,
......
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