From 1cb1f035008381014edfba7550e181d25f032edc Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 04 Sep 2023 10:59:08 +0800 Subject: [PATCH] 短信 --- src/main/resources/mapper/modules/MallMoneyFlowMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml index 2d1e848..aa81c97 100644 --- a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml +++ b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml @@ -134,7 +134,8 @@ </select> <select id="selectByMemberIdAndTypeAndStatusAndDate" resultType="cc.mrbird.febs.mall.entity.MallMoneyFlow"> - select a.member_id, sum(a.amount) amount from mall_money_flow a + select a.* + from mall_money_flow a where a.type =#{type} and a.status = #{status} and a.member_id = #{memberId} -- Gitblit v1.9.1