@RequestMapping(value = "/BoothListOfGroup", produces = "application/json") @ResponseBody public Map<String, Object> getBoothListOfGroup(HttpServletRequest request) throws Exception { HashMap<String, String> param = new HashMap<String, String>(); Map<String, Object> model = new HashMap<String, Object>(); String groupId = request.getParameter("groupId"); if (StringUtils.isNotBlank(groupId)) param.put("groupId", groupId); List<BoothDto> list = resManage.getBoothInfoList(param); model.put("boothList", list); return model; }
@RequestMapping(value = "/BoothInfoList", produces = "application/json") public ModelAndView boothInfoList(HttpServletRequest request) throws Exception { ModelAndView mav = new ModelAndView("business/resmanage/booth/boothInfoList"); HashMap<String, String> param = new HashMap<String, String>(); List<BoothDto> list = null; String boothName = request.getParameter("boothName"); String technician = request.getParameter("technician"); String status = request.getParameter("status"); String locState = request.getParameter("locState"); String groupId = request.getParameter("groupId"); String serialNo = request.getParameter("serialNo"); String printerModel = request.getParameter("printerModel"); String captureType = request.getParameter("captureType"); String tagDueDt = request.getParameter("tagDueDt"); String qualityTestResult = request.getParameter("qualityTestResult"); String type = request.getParameter("type"); String boothComment = request.getParameter("boothComment"); String monitorType = request.getParameter("monitorType"); String useYn = request.getParameter("useYn"); if (StringUtils.isNotBlank(boothName)) param.put("boothName", boothName); if (StringUtils.isNotBlank(technician)) param.put("technician", technician); if (StringUtils.isNotBlank(status)) param.put("status", status); if (StringUtils.isNotBlank(locState)) param.put("locState", locState); if (StringUtils.isNotBlank(groupId)) param.put("groupId", groupId); if (StringUtils.isNotBlank(serialNo)) param.put("serialNo", serialNo); if (StringUtils.isNotBlank(printerModel)) param.put("printerModel", printerModel); if (StringUtils.isNotBlank(captureType)) param.put("captureType", captureType); if (StringUtils.isNotBlank(tagDueDt)) param.put("tagDueDt", tagDueDt); if (StringUtils.isNotBlank(qualityTestResult)) param.put("qualityTestResult", qualityTestResult); if (StringUtils.isNotBlank(type)) param.put("type", type); if (StringUtils.isNotBlank(boothComment)) param.put("boothComment", boothComment); if (StringUtils.isNotBlank(monitorType)) param.put("monitorType", monitorType); if (StringUtils.isNotBlank(useYn)) param.put("useYn", useYn); list = resManage.getBoothInfoList(param); mav.addObject("list", list); return mav; }