@RequestMapping(value = "/BoothRentFeeList", produces = "application/json")
  @ResponseBody
  public Map<String, Object> boothInfoList(HttpServletRequest request) throws Exception {
    Map<String, Object> model = new HashMap<String, Object>();

    HashMap<String, String> param = new HashMap<String, String>();
    List<BoothRentFeeDto> list = null;

    String groupId = request.getParameter("groupId");
    String boothId = request.getParameter("boothId");
    String rentYear = request.getParameter("rentYear");
    String rentMonth = request.getParameter("rentMonth");
    String rentFeeType = request.getParameter("rentFeeType");
    String payOnsite = request.getParameter("payOnsite");

    if (StringUtils.isNotBlank(groupId)) param.put("groupId", groupId);
    if (StringUtils.isNotBlank(boothId)) param.put("boothId", boothId);
    if (StringUtils.isNotBlank(rentYear)) param.put("rentYear", rentYear);
    if (StringUtils.isNotBlank(rentMonth)) param.put("rentMonth", rentMonth);
    if (StringUtils.isNotBlank(rentFeeType)) param.put("rentFeeType", rentFeeType);
    if (StringUtils.isNotBlank(payOnsite)) param.put("payOnsite", payOnsite);

    list = boothRentFee.getRentFeeList(param);

    JSONArray jsonList = new JSONArray();
    jsonList = JSONArray.fromObject(JSONSerializer.toJSON(list));

    model.put("jsonList", jsonList);

    return model;
  }
  @RequestMapping(value = "/BoothRentFeeDelete", produces = "application/json")
  @ResponseBody
  public Map<String, Object> boothRentFeeDelete(HttpServletRequest request) throws Exception {

    Map<String, Object> model = new HashMap<String, Object>();
    int updateCnt = 0;

    String boothId = request.getParameter("boothId");
    String rentYear = request.getParameter("rentYear");
    String rentMonth = request.getParameter("rentMonth");

    updateCnt = boothRentFee.deleteRentFeeInfo(boothId, rentYear, rentMonth);
    model.put("message", updateCnt);

    return model;
  }
  @RequestMapping(value = "/BoothRentFeeRegist", produces = "application/json")
  @ResponseBody
  public Map<String, Object> boothRentFeeRegist(HttpServletRequest request) throws Exception {

    HashMap<String, String> param = new HashMap<String, String>();
    Map<String, Object> model = new HashMap<String, Object>();

    int updateCnt = 0;

    String groupId = request.getParameter("groupId");
    String boothId = request.getParameter("boothId");
    BoothDto boothDto = resManage.getBoothInfo(boothId);
    String rentFeeType = boothDto.getRentFeeType();
    if (StringUtils.isNotBlank(rentFeeType)) param.put("rentFeeType", rentFeeType);

    String rentYear = request.getParameter("rentYear");
    String fromRentMonth = request.getParameter("fromRentMonth");
    String toRentMonth = request.getParameter("toRentMonth");
    String rentFee = request.getParameter("rentFee");

    if (StringUtils.isBlank(rentYear)
        || StringUtils.isBlank(fromRentMonth)
        || StringUtils.isBlank(toRentMonth)) return null;
    if (StringUtils.isBlank(rentFee)) rentFee = "0";

    if (StringUtils.isNotBlank(groupId)) param.put("groupId", groupId);
    if (StringUtils.isNotBlank(boothId)) param.put("boothId", boothId);
    if (StringUtils.isNotBlank(rentYear)) param.put("rentYear", rentYear);
    if (StringUtils.isNotBlank(fromRentMonth)) param.put("fromRentMonth", fromRentMonth);
    if (StringUtils.isNotBlank(toRentMonth)) param.put("toRentMonth", toRentMonth);
    if (StringUtils.isNotBlank(rentFee)) param.put("rentFee", rentFee);

    updateCnt = boothRentFee.registRentFeeInfo(param);
    model.put("message", updateCnt);

    return model;
  }