From fd7979f9109aea3922d158b13700b1f1e99b9408 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期五, 17 五月 2024 15:19:27 +0800
Subject: [PATCH] 功能调整
---
data-server/src/main/resources/mapper/FansSubmitMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/data-server/src/main/resources/mapper/FansSubmitMapper.xml b/data-server/src/main/resources/mapper/FansSubmitMapper.xml
index 35b4767..eef181a 100644
--- a/data-server/src/main/resources/mapper/FansSubmitMapper.xml
+++ b/data-server/src/main/resources/mapper/FansSubmitMapper.xml
@@ -24,5 +24,14 @@
${ew.customSqlSegment}
</if>
</select>
+ <select id="countFansSubmitList" resultType="java.lang.Double">
+ select sum(a.fans_add) from (
+ select fm.* from fans_submit fm, user u
+ where fm.create_user = u.id
+ ) a
+ <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
+ ${ew.customSqlSegment}
+ </if>
+ </select>
</mapper>
--
Gitblit v1.9.3