From 0f678d748de2fdbcf7e2073468b252b2e73e310d Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 31 Aug 2023 14:36:57 +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