Commit c2372b1f authored by suhuiguang's avatar suhuiguang

1.确警页面详情显示最新一条告警信息

parent 4be7e743
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
<choose> <choose>
<when test="equipId != null and equipId != ''"> <when test="equipId != null and equipId != ''">
ala.equipment_specific_id =#{equipId} ala.equipment_specific_id =#{equipId}
order by ala.create_date desc limit 1
</when> </when>
<otherwise> <otherwise>
ala.id =#{id} limit 1 ala.id =#{id} limit 1
......
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