From d3334bbb98a1524e67bd50aee1078a7eec40a55f Mon Sep 17 00:00:00 2001 From: xing <xingjs@qq.com> Date: 星期日, 26 二月 2023 13:05:55 +0800 Subject: [PATCH] 20230226@xingjs@提交官网一张图相关内容接口(优化完善sql--修改数据存储sql) --- src/main/resources/mapper/show/OneMapMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/show/OneMapMapper.xml b/src/main/resources/mapper/show/OneMapMapper.xml index 7239c25..9c5621e 100644 --- a/src/main/resources/mapper/show/OneMapMapper.xml +++ b/src/main/resources/mapper/show/OneMapMapper.xml @@ -34,7 +34,7 @@ <!-- 鏁版嵁缁熻 鏁版嵁瀛樺偍 --> <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)" + (select sum(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> -- Gitblit v1.9.3