From 673d9890158a00c42a0cb187d7f40b599d272da9 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Sun, 28 Apr 2024 12:03:03 +0800
Subject: [PATCH] 测试环境新版
---
src/main/resources/mapper/dapp/DappFundFlowDao.xml | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappFundFlowDao.xml b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
index 5435a0b..b4d0566 100644
--- a/src/main/resources/mapper/dapp/DappFundFlowDao.xml
+++ b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -100,6 +100,20 @@
</if>
</select>
+ <select id="selectAmountTotalByTypeAndMemberIdAndDateAndState" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
+ select
+ *
+ from
+ dapp_fund_flow
+ where
+ member_id = #{memberId}
+ and type = #{type}
+ and status = #{status}
+ <if test="date != null">
+ and date_format(create_time, '%Y-%m-%d') = date_format(#{date}, '%Y-%m-%d');
+ </if>
+ </select>
+
<select id="findMoneyFlowVos" resultType="cc.mrbird.febs.dapp.vo.MoneyFlowVo">
@@ -131,9 +145,6 @@
<if test="record.type != null">
and a.type = #{record.type}
</if>
- <if test="record.type != null">
- and a.type = #{record.type}
- </if>
<if test="record.status != null">
and a.status = #{record.status}
</if>
@@ -149,4 +160,12 @@
</where>
order by a.create_time desc
</select>
+
+ <select id="memberFundList" resultType="cc.mrbird.febs.dapp.entity.DappMemberFund">
+ select
+ a.*
+ from dapp_member_fund a
+ left join dapp_member b on a.member_id = b.id
+ order by a.create_time desc
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1