From 6a084a68b3e0e771be7170e0c4fae6c0aec41389 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sat, 22 Oct 2022 18:59:25 +0800
Subject: [PATCH] 20221021
---
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
index 0c2ed50..1a037e2 100644
--- a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
+++ b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -26,4 +26,13 @@
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}
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1