         }
     }
     
-    func autoSummit(ticket:QueryLeftNewDTO,seatTypeId:String){
+    func summitTicket(ticket:QueryLeftNewDTO,seatTypeId:String,isAuto:Bool){
         let notificationCenter = NSNotificationCenter.defaultCenter()
         
         if !MainModel.isGetUserInfo {

            
            for ticket in self.filterQueryResult {
                if ticket.hasTicketForSeatTypeFilterKey(self.seatFilterKey) {
                    //停止查询
                    self.repeatTimer?.invalidate()
                    self.repeatTimer = nil
                    self.hasAutoQuery = false
                    self.autoSummit(ticket, seatTypeId: ticket.getSeatTypeNameByFilterKey(self.seatFilterKey)!)
                    NotifySpeaker.sharedInstance.notify()
                    break;
                }

        let postSubmitWindowMessage = {
            self.stopLoadingTip()
            
            if isAuto {
                notificationCenter.postNotificationName(DidSendAutoSubmitMessageNotification, object: nil)
            }
            else {
                notificationCenter.postNotificationName(DidSendSubmitMessageNotification, object: nil)
            }
        }
        
        let failHandler = {(error:NSError)->() in
