@RequestMapping("/BoothInfoRegistForm")
  public ModelAndView boothInfoRegistForm() throws Exception {
    ModelAndView mav = new ModelAndView("business/resmanage/booth/boothInfoRegistForm");

    mav.addObject("groupListOptions", resManage.getGroupComboOptions(""));

    mav.addObject("monitorTypeOptions", code.getOptionsForHTML("PHOTOME", "MONITOR_TYPE"));
    mav.addObject("boothStatusOptions", code.getOptionsForHTML("PHOTOME", "BOOTH_STATUS"));
    mav.addObject("qltyResultOptions", code.getOptionsForHTML("PHOTOME", "QLTY_TST_RSLT"));
    mav.addObject("boothTypeOptions", code.getOptionsForHTML("PHOTOME", "BOOTH_TYPE"));
    mav.addObject("captureTypeOptions", code.getOptionsForHTML("PHOTOME", "CAPTURE_TYPE"));
    mav.addObject("printerTypeOptions", code.getOptionsForHTML("PHOTOME", "PRINTER_MODEL"));
    mav.addObject("rentFeeTypeOptions", code.getOptionsForHTML("PHOTOME", "RENT_PAY_TYPE"));
    return mav;
  }
  @RequestMapping("/UserDetailInfo")
  public ModelAndView userDetailInfo(HttpServletRequest request) throws Exception {
    ModelAndView mav = new ModelAndView("business/common/userDetailInfo");

    UserDto userDto = new UserDto();

    String userId = request.getParameter("userId");
    userDto = user.getUserInfo(userId);

    String userTypeName = null;
    CodeDto cdoeDto = code.getCodeInfo("SYSTEM", "USER_TYPE", userDto.getUserType());
    if (cdoeDto != null) userTypeName = cdoeDto.getCodeName();

    String birthDt = userDto.getBirthDt();
    if (!StringUtils.isEmpty(birthDt) && StringUtils.length(birthDt) == 8) {
      birthDt =
          StringUtils.substring(birthDt, 0, 2)
              + "/"
              + StringUtils.substring(birthDt, 2, 4)
              + "/"
              + StringUtils.substring(birthDt, 4);
    }
    userDto.setBirthDt(birthDt);
    userDto.setUserTypeName(userTypeName);

    mav.addObject("userPhoto", user.getProfilePhoto(userId));
    mav.addObject("userDto", userDto);

    return mav;
  }
  @RequestMapping("/Main")
  public ModelAndView main() throws Exception {
    ModelAndView mav = new ModelAndView("business/resmanage/booth/main");

    mav.addObject("stateListOptions", common.getStateComboOptions(""));
    mav.addObject("groupListOptions", resManage.getGroupComboOptions(""));

    mav.addObject("technicianOptions", resManage.getTechnicianOptionsForHTML(""));
    mav.addObject("monitorTypeOptions", code.getOptionsForHTML("PHOTOME", "MONITOR_TYPE"));
    mav.addObject("boothStatusOptions", code.getOptionsForHTML("PHOTOME", "BOOTH_STATUS"));
    mav.addObject("qltyResultOptions", code.getOptionsForHTML("PHOTOME", "QLTY_TST_RSLT"));
    mav.addObject("boothTypeOptions", code.getOptionsForHTML("PHOTOME", "BOOTH_TYPE"));
    mav.addObject("printerTypeOptions", code.getOptionsForHTML("PHOTOME", "PRINTER_MODEL"));
    mav.addObject("rentFeeTypeOptions", code.getOptionsForHTML("PHOTOME", "RENT_PAY_TYPE"));

    return mav;
  }
  @RequestMapping("/BoothInfoUpdateForm")
  public ModelAndView boothInfoUpdateForm(HttpServletRequest request) throws Exception {
    ModelAndView mav = new ModelAndView("business/resmanage/booth/boothInfoUpdateForm");

    String boothId = request.getParameter("boothId");
    BoothDto boothDto = resManage.getBoothInfo(boothId);

    mav.addObject("groupListOptions", resManage.getGroupComboOptions(boothDto.getGroupId()));

    mav.addObject(
        "monitorTypeOptions",
        code.getOptionsForHTML("PHOTOME", "MONITOR_TYPE", boothDto.getMonitorType()));
    mav.addObject(
        "boothStatusOptions",
        code.getOptionsForHTML("PHOTOME", "BOOTH_STATUS", boothDto.getStatus()));
    mav.addObject(
        "qltyResultOptions",
        code.getOptionsForHTML("PHOTOME", "QLTY_TST_RSLT", boothDto.getQualityTestResult()));
    mav.addObject(
        "boothTypeOptions", code.getOptionsForHTML("PHOTOME", "BOOTH_TYPE", boothDto.getType()));
    mav.addObject(
        "captureTypeOptions",
        code.getOptionsForHTML("PHOTOME", "CAPTURE_TYPE", boothDto.getCaptureType()));
    mav.addObject(
        "printerTypeOptions",
        code.getOptionsForHTML("PHOTOME", "PRINTER_MODEL", boothDto.getPrinterModel()));
    mav.addObject(
        "rentFeeTypeOptions",
        code.getOptionsForHTML("PHOTOME", "RENT_PAY_TYPE", boothDto.getRentFeeType()));

    mav.addObject("boothDto", boothDto);

    return mav;
  }
  @RequestMapping("/Main")
  public ModelAndView main() throws Exception {
    ModelAndView mav = new ModelAndView("business/resmanage/booth/rentfee/main");

    mav.addObject("yearOptions", this.getYearOptions(""));
    mav.addObject("monthOptions", this.getMonthOptions(""));

    mav.addObject("groupListOptions", resManage.getGroupComboOptions(""));
    mav.addObject("rentFeeTypeOptions", code.getOptionsForHTML("PHOTOME", "RENT_PAY_TYPE"));

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

    List<CodeDto> userTypes = code.getCodeList("SYSTEM", "USER_TYPE");
    List<RoleDto> roleList = role.getRoleList(new HashMap<String, String>());

    model.put("userTypes", userTypes);
    model.put("roles", roleList);

    return model;
  }