This commit is contained in:
why 2023-04-19 10:38:10 +08:00
parent 18f5fc2a6b
commit 3701e67719
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@
</select>
<select id="getLeft4Data" resultType="com.kening.vordm.vo.GroupByUse">
select t.response_organization as `name`, count(*) as cnt, 'responseOrganization' as `type`
from guest_manage_disaster_ref t where t.response_organization != '' GROUP BY t.response_organization ORDER BY cnt desc LIMIT 5
select gi.organization as `name`, count(*) as cnt, 'responseOrganization' as `type`
from guest_manage_disaster_ref t INNER JOIN guest_info gi on gi.id = t.manager_id where gi.organization != '' and t.`status` = '1' GROUP BY gi.organization ORDER BY cnt desc LIMIT 5
</select>
<select id="getLeft1Data" resultType="com.kening.vordm.vo.GroupByUse">