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 | 13 +++++++------ 1 files changed, 7 insertions(+), 6 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 c009ecd..8fa676f 100644 --- a/src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java +++ b/src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java @@ -61,9 +61,10 @@ @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); } @@ -72,9 +73,9 @@ @RequestMapping(value = "/issueTableConfig/relationDetail", produces = MediaType.APPLICATION_JSON_VALUE) public @ResponseBody - Map<String, Object> relationDetail(@RequestBody Long issueId) { + Map<String, Object> relationDetail(@RequestBody Map<String, Map<String, Object>> params) { Map<String, Object> resJsonData = new HashMap<>(); - this.issueTableConfigService.detailRelationIssueTableConfig(issueId,resJsonData); + this.issueTableConfigService.detailRelationIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT), resJsonData); return this.setSuccessMessage(resJsonData); } @@ -83,9 +84,9 @@ @RequestMapping(value = "/issueTableConfig/downDetail", produces = MediaType.APPLICATION_JSON_VALUE) public @ResponseBody - Map<String, Object> downDetail(@RequestBody Long issueId) { + Map<String, Object> downDetail(@RequestBody Map<String, Map<String, Object>> params) { Map<String, Object> resJsonData = new HashMap<>(); - this.issueTableConfigService.detailDownIssueTableConfig(issueId,resJsonData); + this.issueTableConfigService.detailDownIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT),resJsonData); return this.setSuccessMessage(resJsonData); } -- Gitblit v1.8.0