xiaoyong931011
2021-05-26 0ca7bf5c850eaef852a6b49d4b94e8366deedb29
src/main/resources/mapper/otc/OtcBlackListDao.xml
@@ -6,4 +6,14 @@
        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>