Commit a1ea72b9 authored by KeYong's avatar KeYong

更新

parent 24389bb3
...@@ -1372,7 +1372,7 @@ ...@@ -1372,7 +1372,7 @@
<select id="fireAlarmLogPage" resultType="java.util.HashMap"> <select id="fireAlarmLogPage" resultType="java.util.HashMap">
SELECT SELECT
`wlesal`.id as alarmLogId, `wlesal`.id as alarmLogId,
`wlesal`.equipment_specific_index_name, `wesi`.equipment_index_name AS equipment_specific_index_name,
`wlesal`.equipment_specific_name, `wlesal`.equipment_specific_name,
DATE_FORMAT(`wlesal`.`create_date`,'%m-%d %H:%i:%s') alarm_time, DATE_FORMAT(`wlesal`.`create_date`,'%m-%d %H:%i:%s') alarm_time,
wlesal.location, wlesal.location,
...@@ -1384,6 +1384,7 @@ ...@@ -1384,6 +1384,7 @@
`wl_equipment_specific_alarm_log` `wlesal` `wl_equipment_specific_alarm_log` `wlesal`
LEFT JOIN `wl_equipment_specific_alarm` wesa ON wesa.id = wlesal.equipment_specific_alarm_id LEFT JOIN `wl_equipment_specific_alarm` wesa ON wesa.id = wlesal.equipment_specific_alarm_id
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_equipment_specific_index` `wesi` ON `wesi`.equipment_specific_id = `wles`.`id`
<where> <where>
wesa.`status` = 1 AND wlesal.clean_time IS NULL wesa.`status` = 1 AND wlesal.clean_time IS NULL
<if test="param.system != null and param.system != ''"> <if test="param.system != null and param.system != ''">
......
...@@ -5809,6 +5809,7 @@ ...@@ -5809,6 +5809,7 @@
WHERE WHERE
wes.id = #{id} wes.id = #{id}
AND wei.is_iot = true AND wei.is_iot = true
limit 1
</select> </select>
<select id="getSpeIndex" resultType="com.yeejoin.equipmanage.common.vo.SpeIndexVo"> <select id="getSpeIndex" resultType="com.yeejoin.equipmanage.common.vo.SpeIndexVo">
......
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