From 2efe89b4912553eddb4c26103e6ce4e93b52649f Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 금, 26 11월 2021 15:56:06 +0900 Subject: [PATCH] 이슈 테이블설정 --- src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java b/src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java index 7fe99d9..8fa676f 100644 --- a/src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java +++ b/src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java @@ -21,7 +21,7 @@ @Autowired private IssueTableConfigService issueTableConfigService; - // �씠�뒋 �뀒�씠釉� �꽕�젙 ���옣 + // 硫붿씤 �씠�뒋 �뀒�씠釉� �꽕�젙 ���옣 @RequestMapping(value = "/issueTableConfig/add", produces = MediaType.APPLICATION_JSON_VALUE) public @ResponseBody @@ -33,13 +33,60 @@ return this.setSuccessMessage(resJsonData); } - // �씠�뒋 �뀒�씠釉� �꽕�젙 �긽�꽭 議고쉶 + // �뿰愿� �씠�뒋 �뀒�씠釉� �꽕�젙 ���옣 + @RequestMapping(value = "/issueTableConfig/relationAdd", produces = MediaType.APPLICATION_JSON_VALUE) + public + @ResponseBody + Map<String, Object> relationAdd(@RequestBody Map<String, Map<String, Object>> params) { + Map<String, Object> resJsonData = new HashMap<>(); + + this.issueTableConfigService.addRelationIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT)); + + return this.setSuccessMessage(resJsonData); + } + + // �븯�쐞 �씠�뒋 �뀒�씠釉� �꽕�젙 ���옣 + @RequestMapping(value = "/issueTableConfig/downAdd", produces = MediaType.APPLICATION_JSON_VALUE) + public + @ResponseBody + Map<String, Object> downAdd(@RequestBody Map<String, Map<String, Object>> params) { + Map<String, Object> resJsonData = new HashMap<>(); + + this.issueTableConfigService.addDownIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT)); + + return this.setSuccessMessage(resJsonData); + } + + // 硫붿씤 �씠�뒋 �뀒�씠釉� �꽕�젙 �긽�꽭 議고쉶 @RequestMapping(value = "/issueTableConfig/detail", produces = MediaType.APPLICATION_JSON_VALUE) public @ResponseBody - Map<String, Object> detail() { + Map<String, Object> detail(@RequestBody Map<String, Map<String, Object>> params) { Map<String, Object> resJsonData = new HashMap<>(); - this.issueTableConfigService.detailIssueTableConfig(resJsonData); + + this.issueTableConfigService.detailIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT), resJsonData); + + return this.setSuccessMessage(resJsonData); + } + + // �뿰愿� �씠�뒋 �뀒�씠釉� �꽕�젙 �긽�꽭 議고쉶 + @RequestMapping(value = "/issueTableConfig/relationDetail", produces = MediaType.APPLICATION_JSON_VALUE) + public + @ResponseBody + Map<String, Object> relationDetail(@RequestBody Map<String, Map<String, Object>> params) { + Map<String, Object> resJsonData = new HashMap<>(); + this.issueTableConfigService.detailRelationIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT), resJsonData); + + return this.setSuccessMessage(resJsonData); + } + + // �븯�쐞 �씠�뒋 �뀒�씠釉� �꽕�젙 �긽�꽭 議고쉶 + @RequestMapping(value = "/issueTableConfig/downDetail", produces = MediaType.APPLICATION_JSON_VALUE) + public + @ResponseBody + Map<String, Object> downDetail(@RequestBody Map<String, Map<String, Object>> params) { + Map<String, Object> resJsonData = new HashMap<>(); + this.issueTableConfigService.detailDownIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT),resJsonData); return this.setSuccessMessage(resJsonData); } -- Gitblit v1.8.0