xiaoyong931011
2022-11-23 d7140004b514b43f9734d050fb65d0c2898cca7f
src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -19,16 +19,16 @@
               b.total_amount totalAmount,
               b.frozen_amount frozenAmount,
               b.available_amount availableAmount,
               d.address coinAddress
               from dapp_member a
               IFNULL(d.address,'-') coinAddress
        from dapp_member a
        left join dapp_wallet_coin b on a.id = b.member_id
        left join dapp_member c on a.referer_id = c.invite_id
        left join member_coin_address d on d.member_id = a.id
        left join member_coin_address d on d.member_id = a.id and d.is_biyict = 1 and d.tag = 'TRC20'
        <where>
<!--            <if test="record.currentUser != null">-->
<!--                and referer_id = (select invite_id from dapp_user_member_relate where user_id=#{record.currentUser})-->
<!--            </if>-->
            and d.is_biyict = 1 and d.tag = 'TRC20'
            <if test="record.description!=null and record.description!=''">
                and a.id in (select id from dapp_member where FIND_IN_SET(#{record.description}, referer_ids))
            </if>