@SuppressWarnings("unchecked")
 public void getTicketDetail(
     String status_for, String deptid, String empName, SessionFactory connectionSpace) {
   try {
     //	System.out.println("ddddddd  "+deptid);
     List ticketData =
         new AssetDashboardHelper().getLodgedTickets(deptid, status_for, empName, connectionSpace);
     ticketsList = new ArrayList<FeedbackPojo>();
     System.out.println(">>>>>>> " + ticketData.size());
     if (ticketData != null && ticketData.size() > 0) {
       for (Iterator iterator = ticketData.iterator(); iterator.hasNext(); ) {
         Object[] object = (Object[]) iterator.next();
         FeedbackPojo fp = new FeedbackPojo();
         fp.setId(Integer.parseInt(object[0].toString()));
         fp.setTicket_no(object[1].toString());
         fp.setFeed_by(DateUtil.makeTitle(object[2].toString()));
         fp.setOpen_date(DateUtil.convertDateToIndianFormat(object[3].toString()));
         fp.setOpen_time(object[4].toString().substring(0, 5));
         fp.setStatus(object[5].toString());
         ticketsList.add(fp);
       }
     }
     System.out.println(" >>>>>> " + ticketsList.size());
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
 @SuppressWarnings("unchecked")
 public void getAnalytics4SubCategory(String status_for) {
   try {
     this.generalMethod();
     List catgData =
         new AssetDashboardHelper()
             .getAnalyticalData(
                 "C",
                 fromDate,
                 toDate,
                 dept_id,
                 "-1",
                 "",
                 empName,
                 searchField,
                 searchString,
                 searchOper,
                 connectionSpace);
     if (catgData != null && catgData.size() > 0) {
       if (status_for.equalsIgnoreCase("T")) {
         catgCountList = new ArrayList<FeedbackPojo>();
         for (Iterator iterator = catgData.iterator(); iterator.hasNext(); ) {
           Object[] object = (Object[]) iterator.next();
           if (status_for.equalsIgnoreCase("T")) {
             FeedbackPojo fp = new FeedbackPojo();
             fp.setId(Integer.parseInt(object[0].toString()));
             fp.setFeedback_catg(object[1].toString());
             fp.setCounter(object[2].toString());
             catgCountList.add(fp);
           }
         }
       } else if (status_for.equalsIgnoreCase("G")) {
         System.out.println("Inside G Block");
         graphCatgMap = new LinkedHashMap<String, Integer>();
         for (Iterator iterator = catgData.iterator(); iterator.hasNext(); ) {
           Object[] object = (Object[]) iterator.next();
           graphCatgMap.put(object[1].toString(), Integer.parseInt(object[2].toString()));
         }
         System.out.println(
             "Map Size for graph  is:::::::::::::::::::::::: " + graphCatgMap.size());
       }
     }
   } catch (Exception e) {
     e.printStackTrace();
   }
 }