コード例 #1
0
  @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;
  }
コード例 #2
0
  @RequestMapping("/BoothRentFeeRegistForm")
  public ModelAndView boothRentFeeRegistForm() throws Exception {
    ModelAndView mav = new ModelAndView("business/resmanage/booth/rentfee/boothRentFeeRegistForm");

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

    return mav;
  }
コード例 #3
0
  @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;
  }
コード例 #4
0
  @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;
  }
コード例 #5
0
  @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;
  }