update mall_goods
        set stock = stock - #{cnt},
            volume = volume + #{cnt}
        where id=#{id} and  stock - #{cnt} = ]]> 0
    
    
        update mall_goods
        set stock = stock + #{cnt},
            volume = volume - #{cnt}
        where id=#{id} and  volume - #{cnt} = ]]> 0
    
    
        update mall_goods
        set carriage_rule_id = null
        where id=#{id}
    
    
        update mall_goods
        set carriage_amount = null
        where id=#{id}