/**
   * yichuan 客户系统关闭工单
   *
   * @param map
   * @param session
   * @return 0 系统错误 1 成功 2 失败
   */
  @RequestMapping(value = "/closeTicket", method = RequestMethod.POST)
  @ResponseBody
  public Map<String, Object> closeTicket(@RequestParam Map<String, Object> dataMap) {
    Map<String, Object> result = iCustomerSysBusiness.closeTicket(dataMap);

    return result;
  }
  /**
   * yichuan 客户系统查看工单 分页
   *
   * @param map
   * @param session
   * @return 0 系统错误 1 成功 2 失败
   */
  @RequestMapping(value = "/selectCustomerTicketList", method = RequestMethod.POST)
  @ResponseBody
  public Map<String, Object> selectCustomerTicketList(@RequestParam Map<String, Object> dataMap) {
    Map<String, Object> customerTicketList = iCustomerSysBusiness.selectCustomerTicketList(dataMap);

    try {
      customerTicketList.put(
          "maxPage",
          PageUtil.getAllPage(
              Integer.parseInt(customerTicketList.get("totalCount").toString()),
              Integer.parseInt(dataMap.get("pageSize").toString())));
    } catch (Exception e) {
      customerTicketList.put("maxPage", 1);
    }

    return customerTicketList;
  }