Subversion Repositories SmartDukaan

Rev

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

Rev 35639 Rev 35647
Line 289... Line 289...
289
        this.updateTicket(categoryId, subCategoryId, ticket, authUserId, escalationType, null);
289
        this.updateTicket(categoryId, subCategoryId, ticket, authUserId, escalationType, null);
290
    }
290
    }
291
 
291
 
292
    @Override
292
    @Override
293
    public void updateTicket(int categoryId, int subCategoryId, Ticket ticket, int authUserId, EscalationType escalationType, ActivityMediaModel recording) throws ProfitMandiBusinessException {
293
    public void updateTicket(int categoryId, int subCategoryId, Ticket ticket, int authUserId, EscalationType escalationType, ActivityMediaModel recording) throws ProfitMandiBusinessException {
294
 
-
 
-
 
294
        LOGGER.info("subCategoryId {}",subCategoryId);
295
        TicketSubCategory ticketSubCategory = ticketSubCategoryRepository.getTicketSubCategoryMap().get(subCategoryId);
295
        TicketSubCategory ticketSubCategory = ticketSubCategoryRepository.getTicketSubCategoryMap().get(subCategoryId);
296
        if (ticketSubCategory == null) {
296
        if (ticketSubCategory == null) {
297
            throw new ProfitMandiBusinessException("Could not find subCategoryId " + subCategoryId + "- " + categoryId, "Problem", "Problem");
297
            throw new ProfitMandiBusinessException("Could not find subCategoryId " + subCategoryId + "- " + categoryId, "Problem", "Problem");
298
        }
298
        }
299
        String storeName = retailerService.getAllFofoRetailers().get(ticket.getFofoId()).getBusinessName();
299
        String storeName = retailerService.getAllFofoRetailers().get(ticket.getFofoId()).getBusinessName();