From 2f4dd0b0ba57cc66f2e2d0df7bbbf6cbfe9ba8c7 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 23 Aug 2023 14:06:23 +0800
Subject: [PATCH] 后台修改
---
src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml b/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
index 1363894..8c1a050 100644
--- a/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
+++ b/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
@@ -13,6 +13,31 @@
and a.type=#{record.type}
</if>
</where>
+ order by a.create_time desc
+ </select>
+
+ <select id="selectMemberMoneyFlowInPage" resultType="cc.mrbird.febs.dapp.vo.MemberMoneyFlowVo">
+ select a.*
+ from dapp_account_money_change a
+ where a.member_id = #{record.id}
+ order by a.create_time desc
+ </select>
+
+ <select id="getChangeInPageInPage" resultType="cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity">
+ select a.*
+ from dapp_account_money_change a
+ where a.member_id = #{record.memberId}
+ and a.type = 3
+ order by a.create_time desc
+ </select>
+
+ <select id="selectNewOneByMemberId" resultType="cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity">
+ select a.*
+ from dapp_account_money_change a
+ where a.member_id = #{memberId}
+ and a.type = 3
+ order by a.create_time desc
+ limit 1
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1