From 8dbaa58169feb425785b55427358a1be0b51dfca Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 10 Mar 2022 16:19:22 +0800
Subject: [PATCH] fix

---
 src/main/resources/mapper/member/MemberCoinChargeDao.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/member/MemberCoinChargeDao.xml b/src/main/resources/mapper/member/MemberCoinChargeDao.xml
index 3f6faae..e1539f1 100644
--- a/src/main/resources/mapper/member/MemberCoinChargeDao.xml
+++ b/src/main/resources/mapper/member/MemberCoinChargeDao.xml
@@ -12,4 +12,21 @@
 		order by create_time desc limit 1
 	</select>
 
+	<select id="selectAllBySymbolAndTag" resultType="com.xcong.excoin.modules.member.entity.MemberCoinChargeEntity">
+		select * from member_coin_charge
+		where symbol=#{symbol}
+		<if test="tag !=null and tag != ''">
+			and tag = #{tag}
+		</if>
+		<if test="status !=null and status != ''">
+			and status = #{status}
+		</if>
+	</select>
+
+	<select id="findMemberCoinChargeInPage" resultType="com.xcong.excoin.modules.member.entity.MemberCoinChargeEntity">
+		select * from member_coin_charge
+		where member_id=#{record.memberId}
+		order by create_time desc
+	</select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1