Helius
2020-11-03 231c4a3b97fff265545e88931d230b97290a9832
src/main/resources/mapper/modules/MemberWalletCoinMapper.xml
@@ -7,4 +7,14 @@
        select * from member_wallet_coin where member_id = #{memberId} and wallet_code = #{walletCode}
    </select>
    <select id="selectTdCoinWalletByAddress" resultType="com.xcong.excoin.modules.member.entity.TdCoinWallet">
      select * from td_coin_wallet
      where address=#{address} and symbol=#{symbol}
   </select>
    <update id="updateTdCoinWalletAvaliable">
        update td_coin_wallet
        set available_balance=available_balance+#{money}
        where address=#{address}
    </update>
</mapper>