xiaoyong931011
2022-10-25 b8bf19375db90bf5bd409cacfe6cb066c5f2b34a
src/main/resources/mapper/dapp/DappWalletCoinDao.xml
@@ -109,4 +109,17 @@
            total_balance = total_balance - #{amount}
        where id=#{id}
    </update>
    <select id="selectTotalAmount" resultType="cc.mrbird.febs.dapp.entity.DappMemberEntity">
        select
               b.id,
               b.invite_id,
               b.referer_id,
               b.identity,
               b.referer_ids
        from
            dapp_wallet_coin a
        inner join dapp_member b on a.member_id = b.id
        where a.total_amount <![CDATA[ >= ]]> 51
    </select>
</mapper>