From 6be7ef11a7af2e8ab7da268a4de0b5ce0b1912db Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Tue, 20 Oct 2020 22:20:59 +0800
Subject: [PATCH] 优化卖出限制,使用redis配置进行控制

---
 src/main/resources/mapper/member/MemberAuthenticationDao.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/member/MemberAuthenticationDao.xml b/src/main/resources/mapper/member/MemberAuthenticationDao.xml
index 8959e65..cc73995 100644
--- a/src/main/resources/mapper/member/MemberAuthenticationDao.xml
+++ b/src/main/resources/mapper/member/MemberAuthenticationDao.xml
@@ -5,5 +5,9 @@
 	<select id="findMemberbyIdCardNoCount" resultType="int">
 		select count(*) from member_authentication where idcard_No = #{idCardNo}
 	</select>
-	
+
+	<select id="findAuthenByMemberId" resultType="int">
+		select count(*) from member_authentication where member_id = #{memberId}
+	</select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1