From 07f76d11dc6304a362cdc5ff907047a6e9e45185 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 29 Jul 2020 16:27:00 +0800 Subject: [PATCH] 20200729 代码提交 --- src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml index 33022cd..cc8e13f 100644 --- a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml +++ b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml @@ -2,4 +2,20 @@ <!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.FollowFollowerProfitDao"> + <select id="selectFollowRecords" resultType="com.xcong.excoin.modules.documentary.vo.FollowRecordsVo"> + SELECT + id, + member_id memberId, + trade_id tradeId, + trade_member_id tradeMemberId, + total_principal totalPrincipal, + is_follow isFollow, + total_profit totalProfit + FROM + follow_follower_profit + WHERE + trade_member_id = #{tradeMemberId} + order by create_time desc + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1