From 9ca3c6ef60688f0231b75698afaafc10b12435a7 Mon Sep 17 00:00:00 2001 From: xing <xingjs@qq.com> Date: 星期二, 21 二月 2023 10:04:19 +0800 Subject: [PATCH] 20230221@xingjs@提交官网一张图相关内容接口 --- src/main/resources/mapper/show/OneMapMapper.xml | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml index 4de1b0a..6200e9f 100644 --- a/src/main/resources/mapper/show/OneMapMapper.xml +++ b/src/main/resources/mapper/show/OneMapMapper.xml @@ -6,45 +6,45 @@ <!-- 椤圭洰绫诲埆 select * from bs.bs_project; --> - <select id="projectCategoryConut" resultType="java.util.Map"> + <select id="projectCategoryCount" resultType="java.util.Map"> select projtype,count(*) from bs.bs_project group by projtype; </select> <!-- 椤圭洰浣嶇疆鍒嗗竷 select a.*,st_astext(geom) from bs.bs_project a --> - <select id="projectLocationConut" resultType="java.util.Map"> + <select id="projectLocationCount" resultType="java.util.Map"> select a.*,st_astext(geom) from bs.bs_project a; </select> <!-- 椤圭洰绫诲埆 鍥藉缁村害-鏁伴噺 --> - <select id="countryDimensionConut" resultType="java.util.Map"> + <select id="countryDimensionCount" resultType="java.util.Map"> select country,count(*) from bs.bs_project group by country; </select> <!-- 椤圭洰绫诲埆 鐪佺淮搴�-鏁伴噺 --> - <select id="provinceDimensionConut" resultType="java.util.Map"> + <select id="provinceDimensionCount" resultType="java.util.Map"> select province,count(*) from bs.bs_project where country like '%涓浗%' group by province ; </select> <!-- 鏁版嵁缁熻 鏁版嵁瀛樺偍 --> - <select id="dataStorageConut" resultType="java.util.Map"> + <select id="dataStorageCount" resultType="java.util.Map"> select name "鍚嶇О", (select count(*) from lf.sys_meta b where b.dircode like a.code || '%') "鏂囦欢鏁�", (select count(sizes) from lf.sys_meta b where b.dircode like a.code || '%') "鏁伴噺(MB)" from lf.sys_dir a where id > 1 and pid = 0; </select> <!-- 鏁版嵁缁熻 鏂囦欢鏍煎紡缁村害-鏂囦欢涓暟 --> - <select id="fileFormatConut" resultType="java.util.Map"> + <select id="fileFormatCount" resultType="java.util.Map"> select type,count(*),count(sizes) from lf.sys_meta group by type; </select> <!-- 鏁版嵁缁熻 鏁版嵁鐢宠 --> - <select id="dataApplyConut" resultType="java.util.Map"> + <select id="dataApplyCount" resultType="java.util.Map"> select * from lf.sys_apply a inner join lf.sys_user b on a.userid = b.id; </select> <!-- 鏁版嵁缁熻 璁块棶缁熻 --> - <select id="dataVisitConut" resultType="java.util.Map"> + <select id="dataVisitCount" resultType="java.util.Map"> select modular1,count(*) from lf.sys_operate group by modular1 order by modular1; </select> -- Gitblit v1.9.3