Commit f7efafb4 authored by KeYong's avatar KeYong

修改bug

parent 4bb6e495
...@@ -2521,6 +2521,10 @@ ...@@ -2521,6 +2521,10 @@
<!-- LIMIT 5--> <!-- LIMIT 5-->
SELECT SELECT
d.*
FROM
(
SELECT
a.equipName, a.equipName,
count( DISTINCT wesa.equipment_specific_id ) AS total count( DISTINCT wesa.equipment_specific_id ) AS total
FROM FROM
...@@ -2544,6 +2548,8 @@ ...@@ -2544,6 +2548,8 @@
ORDER BY ORDER BY
total DESC total DESC
LIMIT 5 LIMIT 5
) d
ORDER BY d.total ASC
</select> </select>
<select id="equipmentId" resultType="String"> <select id="equipmentId" resultType="String">
...@@ -2552,8 +2558,7 @@ ...@@ -2552,8 +2558,7 @@
from from
f_fire_fighting_system f_fire_fighting_system
where where
code = #{systemCode} and code = #{systemCode}
biz_org_code like concat(#{bizOrgCode}, '%')
</select> </select>
<select id="equipmentState" resultType="java.util.Map"> <select id="equipmentState" 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