管道基础大数据平台系统开发-【后端】-Server
src/main/resources/mapper/show/OneMapMapper.xml
@@ -21,16 +21,21 @@
        select a.*,st_astext(geom) AS wkt from bs.bs_project a;
    </select>
    <!--  项目类别 国家维度-数量  -->
    <!-- 全球 项目类别 国家维度-数量  -->
    <select id="countryDimensionCount" resultType="java.util.Map">
        select country,count(*) from bs.bs_project group by country;
    </select>
    <!--  项目类别 省维度-数量  -->
    <!-- 全国 项目类别 省维度-数量  -->
    <select id="provinceDimensionCount" resultType="java.util.Map">
        select province,count(*) from bs.bs_project where country like '%中国%' group by province ;
    </select>
    <!-- 全国 按照项自类型统计不同项目个数  -->
    <select id="countProjectTypeNumber" resultType="java.util.Map">
        select projtype,count(*) from bs.bs_project where country like '%中国%' group by projtype ;
    </select>
    <!--  数据统计 数据存储  -->
    <select id="dataStorageCount" resultType="java.util.Map">
        select name "名称", (select count(*) from lf.sys_meta b where b.dircode like a.code || '%') "文件数",