Helius
2020-09-04 f5708bc8452444408cf3f94b9ed528ca4d58d628
src/main/resources/mapper/member/MemberWalletCoinDao.xml
@@ -29,7 +29,15 @@
   </update>
    
    
   <update id="updateBlockBalance">
      update member_wallet_coin
      set
      available_balance = IFNULL(available_balance, 0) + #{availableBalance},
      total_balance = IFNULL(total_balance, 0) + #{availableBalance},
      early_balance = IFNULL(early_balance, 0) + #{earlyBalance},
      block_number  = IFNULL(block_number, 0) + #{blockNumber}
      where id=#{id}
   </update>
</mapper>