From 3468c100b9ef9747f5202c412a4ecbd4789d8a5d Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Mon, 31 Oct 2022 22:37:08 +0800
Subject: [PATCH] fix

---
 src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
index 0c2ed50..5ac622c 100644
--- a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
+++ b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -26,4 +26,14 @@
         order by s.create_time desc
     </select>
 
+    <select id="selectByMemberIdAndCreateTime" resultType="java.lang.Integer">
+        SELECT
+        count (a.id)
+        FROM
+        member_coin_withdraw a
+        where a.member_id = #{memberId}
+            and date_format(a.create_time, '%Y-%m-%d') = #{createTime}
+            and a.is_inside = #{type}
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1