Helius
2020-07-07 ce4fb58f85eefe9fe6bb6213d8f1576d1925a5ef
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>