xiaoyong931011
2020-09-23 9fe6fee7de6b1e3d9c49f44bf1b99aa93cfff498
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>