/*
   * Specail Info Save
   */
  @SuppressWarnings({"rawtypes", "unchecked"})
  @RequestMapping(value = "/cs/csCust007_01p", method = RequestMethod.POST)
  @ResponseBody
  public Map saveSpecialInfo(CsSpecialInfo csSpecialInfo) {
    Map mapSpecialInfo = new HashMap();

    if (logger.isDebugEnabled()) {
      logger.debug("[saveSpecialInfo] csSpecialInfo ::  " + csSpecialInfo.getMode());
    }

    int rslt = csSpecialInfoService.saveSpecialInfo(csSpecialInfo);
    mapSpecialInfo.put("SpcInfo", rslt + "");
    return mapSpecialInfo;
  }
  /*
   * Special Info Update Init 화면조회
   */
  @SuppressWarnings({"rawtypes", "unchecked"})
  @RequestMapping(value = "/cs/csCust007_01pI", method = RequestMethod.POST)
  @ResponseBody
  public Map retrieveSpecialSrlno(CsSpecialInfo csSpecialInfo) {
    Map mapSpecialInfoList = new HashMap();

    if (logger.isDebugEnabled()) {
      logger.debug("[retrieveSpecialSrlno] csSpecialInfo ::  " + csSpecialInfo.getType());
      logger.debug("[retrieveSpecialSrlno] csSpecialInfo ::  " + csSpecialInfo.getSpclMttrSrlno());
    }
    @SuppressWarnings("unchecked")
    List<CsSpecialInfo> SpcInfoL =
        (List<CsSpecialInfo>) csSpecialInfoService.getSpecialInfoBySrlnoSearch(csSpecialInfo);

    mapSpecialInfoList.put("spcInfoL", SpcInfoL);

    return mapSpecialInfoList;
  }
  /*
   * Special Info 조회
   */
  @RequestMapping(value = "/cs/csCust007", method = RequestMethod.POST)
  @ResponseBody
  public Map retrieveSpecialList(CsSpecialInfo csSpecialInfo) {
    Map mapSpecialInfoList = new HashMap();

    if (logger.isDebugEnabled()) {
      logger.debug("[retrieveSpecialList] csSpecialInfo ::  " + csSpecialInfo.getType());
      logger.debug("[retrieveSpecialList] csSpecialInfo ::  " + csSpecialInfo.getCustNo());
      logger.debug("[retrieveSpecialList] csSpecialInfo ::  " + csSpecialInfo.getEntrNo());
      logger.debug("[retrieveSpecialList] csSpecialInfo ::  " + csSpecialInfo.getBillAcntNo());
    }
    @SuppressWarnings("unchecked")
    List<CsSpecialInfo> SpcInfoList =
        (List<CsSpecialInfo>) csSpecialInfoService.getSpecialInfoBySearch(csSpecialInfo);

    mapSpecialInfoList.put("spcInfo", SpcInfoList);

    return mapSpecialInfoList;
  }