| | |
| | | private IspFieldService IspFieldService; |
| | | |
| | | // 업체 생성 |
| | | @RequestMapping(value = "/isp/add", method = RequestMethod.POST) |
| | | @RequestMapping(value = "/ispField/add", method = RequestMethod.POST) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> add(@RequestBody Map<String, Map<String, Object>> params) { |
| | |
| | | } |
| | | |
| | | // 업체 조회 |
| | | @RequestMapping(value = "/isp/find", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) |
| | | @RequestMapping(value = "/ispField/find", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> find(@RequestBody Map<String, Map<String, Object>> params) { |
| | |
| | | } |
| | | |
| | | // 업체 상세 조회 |
| | | @RequestMapping(value = "/isp/detail", produces = MediaType.APPLICATION_JSON_VALUE) |
| | | @RequestMapping(value = "/ispField/detail", produces = MediaType.APPLICATION_JSON_VALUE) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> detail(@RequestBody Map<String, Map<String, Object>> params) { |
| | |
| | | } |
| | | |
| | | // 업체 수정 |
| | | @RequestMapping(value = "/isp/modify", produces = MediaType.APPLICATION_JSON_VALUE) |
| | | @RequestMapping(value = "/ispField/modify", produces = MediaType.APPLICATION_JSON_VALUE) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> modify(@RequestBody Map<String, Map<String, Object>> params) { |
| | |
| | | } |
| | | |
| | | // 업체 삭제 |
| | | @RequestMapping(value = "/isp/remove", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) |
| | | @RequestMapping(value = "/ispField/remove", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) |
| | | public |
| | | @ResponseBody |
| | | Map<String, Object> remove(@RequestBody Map<String, Map<String, Object>> params) { |
| | |
| | | |
| | | |
| | | // 업체 엑셀 다운로드 |
| | | @RequestMapping(value = "/isp/downloadExcel", method = RequestMethod.POST) |
| | | @RequestMapping(value = "/ispField/downloadExcel", method = RequestMethod.POST) |
| | | public ModelAndView downloadExcel(HttpServletRequest request, Model model) { |
| | | return this.IspFieldService.downloadExcel(request, model); |
| | | } |