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>