Helius
2020-07-14 1b0e20f11a920ba8c0c38e4c8fef58e8fa1fe0d2
src/main/resources/mapper/member/MemberWalletContractDao.xml
@@ -9,5 +9,21 @@
            and wallet_code = #{symbol}
         </if>
   </select>
   <update id="increaseWalletContractBalanceById" parameterType="map" >
      update member_wallet_contract
      <set>
         <if test="availableBalance!=null">
            available_balance = available_balance + #{availableBalance},
         </if>
         <if test="totalBalance!=null">
            total_balance =total_balance + #{totalBalance},
         </if>
         <if test="frozenBalance!=null">
            frozen_balance = frozen_balance + #{frozenBalance},
         </if>
      </set>
      where id =#{id}
   </update>
   
</mapper>