         let columnIdentifier = tableColumn!.identifier
         if(columnIdentifier == "余票信息"){
             let cell = view as! TrainInfoTableCellView
-            cell.ticketInfo = ticketQueryResult[row]
+            cell.ticketInfo = filterQueryResult[row]
             cell.setTarget(self, action: #selector(TicketTableViewController.submit(_:)))
         }
         else if(columnIdentifier == "发站" || columnIdentifier == "到站"){
             let cell = view as! TrainTableCellView
-            cell.ticketInfo = ticketQueryResult[row]
+            cell.ticketInfo = filterQueryResult[row]
         }
         else if(columnIdentifier == "车次"){
             let cell = view as! TrainCodeTableCellView

// MARK: - NSTableViewDataSource 
extension TicketTableViewController: NSTableViewDataSource{
    func numberOfRowsInTableView(tableView: NSTableView) -> Int {
        return ticketQueryResult.count
    }
    
    func tableView(tableView: NSTableView, objectValueForTableColumn tableColumn: NSTableColumn?, row: Int) -> AnyObject? {
        if(ticketQueryResult.count - 1 >= row)
        {
            return ticketQueryResult[row]
        }
        else
        {
            return nil
        }
    }
}


        
        let successHandler = { (tickets:[QueryLeftNewDTO])->()  in
            self.ticketQueryResult = tickets
            if self.trainFilterKey != "" {
                self.filterQueryResult = self.ticketQueryResult.filter({item in return self.trainFilterKey.containsString(item.TrainCode!)})
            }
            else {
                self.filterQueryResult = tickets
            }
                
            self.leftTicketTable.reloadData()
            self.loadingTipController.stop()
            
