From 11c1e629e664a6a6f771f40c576e6519b1c5384c Mon Sep 17 00:00:00 2001
From: xing <xingjs@qq.com>
Date: 星期三, 22 二月 2023 09:37:58 +0800
Subject: [PATCH] 20230221@xingjs@提交官网一张图相关内容接口[修改sql]

---
 src/main/resources/mapper/show/OneMapMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml
index 2963594..61b6ce8 100644
--- a/src/main/resources/mapper/show/OneMapMapper.xml
+++ b/src/main/resources/mapper/show/OneMapMapper.xml
@@ -33,9 +33,9 @@
         from lf.sys_dir a where id > 1 and pid = 0;
     </select>
 
-    <!--  鏁版嵁缁熻 鏂囦欢鏍煎紡缁村害-鏂囦欢涓暟  -->
+    <!--  鏁版嵁缁熻 鏂囦欢鏍煎紡缁村害-鏂囦欢涓暟 select type,count(*),count(sizes) from lf.sys_meta group by type;  -->
     <select id="fileFormatCount" resultType="java.util.Map">
-        select type,count(*),count(sizes) from lf.sys_meta group by type;
+        select type,count(type) AS number,count(sizes) AS capacity from lf.sys_meta group by type;
     </select>
 
     <!--  鏁版嵁缁熻 鏁版嵁鐢宠 select * from lf.sys_apply a inner join lf.sys_user b on a.userid = b.id;  -->

--
Gitblit v1.9.3