update xq_user_extend set income_coin = income_coin - #{price} where income_coin - #{price} >= 0 and user_id = #{userId} update xq_user_extend set income_coin = income_coin + #{price} where income_coin + #{price} >= 0 and user_id = #{userId} update xq_user_extend set withdraw_total = withdraw_total + #{withdrawMonty} where user_id = #{userId} update xq_user_extend set wx_trans_num = wx_trans_num + #{wxTransNum} where user_id = #{userId} update xq_user_extend set consume_total = consume_total + #{consumeMonty} where user_id = #{userId} update xq_user_extend set wx_trans_num = wx_trans_num + #{num} where wx_trans_num + #{num} >= 0 and user_id = #{userId}