代码提交

This commit is contained in:
glj 2023-04-17 13:50:25 +08:00
parent 7bd9f4a8de
commit b4ac00a073
1 changed files with 3 additions and 3 deletions

View File

@ -106,12 +106,12 @@
select t.sponsor_organization as `name`, count(*) as cnt, 'sponsorOrganization' as `type` select t.sponsor_organization as `name`, count(*) as cnt, 'sponsorOrganization' as `type`
from disaster_info t where t.sponsor_organization != '' from disaster_info t where t.sponsor_organization != ''
GROUP BY t.sponsor_organization GROUP BY t.sponsor_organization
ORDER BY cnt desc LIMIT 3 ORDER BY cnt desc LIMIT 5
</select> </select>
<select id="getLeft4Data" resultType="com.kening.vordm.vo.GroupByUse"> <select id="getLeft4Data" resultType="com.kening.vordm.vo.GroupByUse">
select t.response_organization as `name`, count(*) as cnt, 'responseOrganization' as `type` 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 3 from guest_manage_disaster_ref t where t.response_organization != '' GROUP BY t.response_organization ORDER BY cnt desc LIMIT 5
</select> </select>
<select id="getLeft1Data" resultType="com.kening.vordm.vo.GroupByUse"> <select id="getLeft1Data" resultType="com.kening.vordm.vo.GroupByUse">
@ -131,7 +131,7 @@
(select t.disaster_country as name, count(*) as cnt, 'country' as `type` (select t.disaster_country as name, count(*) as cnt, 'country' as `type`
from disaster_info t from disaster_info t
group by t.disaster_country group by t.disaster_country
order by cnt desc limit 7) b on c.flagname = b.`name` order by cnt desc limit 5) b on c.flagname = b.`name`
</select> </select>
<select id="page" parameterType="com.kening.vordm.vo.CallForHelpVo" resultType="com.kening.vordm.vo.CallForHelpVo"> <select id="page" parameterType="com.kening.vordm.vo.CallForHelpVo" resultType="com.kening.vordm.vo.CallForHelpVo">