Helius
2020-07-29 fd7c15b0d7fff836fc26f1feaf72ccf7cb1f7efc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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.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>