From 727e8c0432452a7bd7e912a11ec3ea43890cd44a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 05 Aug 2020 14:43:42 +0800 Subject: [PATCH] 20200805 代码提交 --- src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml b/src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml index fa41a98..eafdf2e 100644 --- a/src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml +++ b/src/main/resources/mapper/documentary/FollowFollowerSettingDao.xml @@ -1,5 +1,28 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.xcong.excoin.modules.documentary.dao.FollowFollowerSettingDao"> + <select id="selectDocumentaryOrderSetInfoBymemberId" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerSettingEntity"> + SELECT + * + FROM + follow_follower_setting + WHERE + member_id = #{memberId} + </select> + <select id="selectOneBymemberIdAndTradeId" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerSettingEntity"> + SELECT + * + FROM + follow_follower_setting + WHERE + member_id = #{memberId} + and trader_id = #{traderId} + </select> + + + <select id="selectAllFollowerSettingByTradeMemberId" resultType="com.xcong.excoin.modules.documentary.entity.FollowFollowerSettingEntity"> + select * from follow_follower_setting + where trader_member_id=#{memberId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1