xiaoyong931011
2023-08-11 75cd0d8aff31f28596a5b52c2686bc2afee46589
src/main/resources/mapper/dapp/DappWalletMineDao.xml
@@ -40,4 +40,10 @@
    <select id="selectAmountThanZero" resultType="cc.mrbird.febs.dapp.entity.DappWalletMineEntity">
        select * from dapp_wallet_mine where available_amount > 0
    </select>
    <update id="addTotalAndaddAvailableById">
        update dapp_wallet_mine
        set total_amount = total_amount + #{amount},
            available_amount = available_amount + #{amount}
        where member_id=#{memberId}
    </update>
</mapper>