Subversion Repositories SmartDukaan

Rev

Rev 3405 | Rev 3499 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3405 Rev 3422
Line 207... Line 207...
207
 
207
 
208
            if (endTimestamp != null && !endTimestamp.isEmpty()) {
208
            if (endTimestamp != null && !endTimestamp.isEmpty()) {
209
                searchFilter.setEndTimestamp(SDF.parse(endTimestamp).getTime());
209
                searchFilter.setEndTimestamp(SDF.parse(endTimestamp).getTime());
210
            }
210
            }
211
 
211
 
-
 
212
            if (id != null && !id.isEmpty()) {
-
 
213
                searchFilter.setTicketId(Long.parseLong(id));
-
 
214
            }
-
 
215
 
212
            crmServiceClient         = new CRMClient().getClient();
216
            crmServiceClient         = new CRMClient().getClient();
213
            tickets = crmServiceClient.getTickets(searchFilter);
217
            tickets = crmServiceClient.getTickets(searchFilter);
214
        } catch (TException e) {
218
        } catch (TException e) {
215
            String errorString = "Error getting tickets for "
219
            String errorString = "Error getting tickets for "
216
                    + currentAgentEmailId;
220
                    + currentAgentEmailId;