Helius
2021-03-30 2cdf732d4130b227514d2c0ba1e40e6c1cece54a
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>