From 06f256c166529b0c333171f76fd49eec4b66afe3 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期六, 27 四月 2024 20:44:33 +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