From 0ca7bf5c850eaef852a6b49d4b94e8366deedb29 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 26 May 2021 15:03:51 +0800
Subject: [PATCH] 20210525  申诉

---
 src/main/resources/mapper/otc/OtcBlackListDao.xml |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/otc/OtcBlackListDao.xml b/src/main/resources/mapper/otc/OtcBlackListDao.xml
index 17a46ce..a834238 100644
--- a/src/main/resources/mapper/otc/OtcBlackListDao.xml
+++ b/src/main/resources/mapper/otc/OtcBlackListDao.xml
@@ -2,4 +2,18 @@
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.xcong.excoin.modules.otc.dao.OtcBlackListDao">
 
+    <select id="selectByMemberIdAndBlackMemberId" resultType="com.xcong.excoin.modules.otc.entity.OtcBlackList">
+        select * from otc_black_list
+        where member_id=#{memberId} and black_member_id=#{blackMemberId}
+    </select>
+
+    <select id="selectBlackListInPage" resultType="com.xcong.excoin.modules.otc.vo.BlackListVo">
+        select a.id, a.create_time time, b.name from otc_black_list a, member b
+        where a.black_member_id=b.id and a.member_id=#{memberId}
+    </select>
+
+    <select id="selectBlackListByMemberId" resultType="com.xcong.excoin.modules.otc.entity.OtcBlackList">
+        select * from otc_black_list
+        where member_id=#{memberId}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1