src/main/resources/mapper/dapp/DappWalletCoinDao.xml
@@ -141,6 +141,15 @@ member_id = #{memberId} </update> <update id="reduceTotalAndAvailableByMemberId"> update dapp_wallet_coin set total_amount = total_amount - #{balance}, available_amount = available_amount - #{balance} where member_id = #{memberId} </update> <select id="selectAmountThanZero" resultType="cc.mrbird.febs.dapp.entity.DappWalletCoinEntity"> select * from dapp_wallet_coin where available_amount > 0 </select>