| | |
| | | package kr.wisestone.owl.web.controller; |
| | | |
| | | import kr.wisestone.owl.constant.Constants; |
| | | import kr.wisestone.owl.domain.IssueTableConfig; |
| | | import kr.wisestone.owl.service.IssueTableConfigService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.MediaType; |
| | |
| | | Map<String, Object> detail(@RequestBody Map<String, Map<String, Object>> params) { |
| | | Map<String, Object> resJsonData = new HashMap<>(); |
| | | |
| | | this.issueTableConfigService.detailIssueTableConfig(params.get(Constants.REQ_KEY_CONTENT), resJsonData); |
| | | Map<String, Object> param = params.get(Constants.REQ_KEY_CONTENT); |
| | | param.put("issueTableType", IssueTableConfig.ISSUE_TABLE_TYPE_MAIN); |
| | | |
| | | this.issueTableConfigService.detailIssueTableConfig(param, resJsonData); |
| | | |
| | | return this.setSuccessMessage(resJsonData); |
| | | } |
| | |
| | | @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); |
| | | |
| | | Map<String, Object> param = params.get(Constants.REQ_KEY_CONTENT); |
| | | param.put("issueTableType", IssueTableConfig.ISSUE_TABLE_TYPE_REL); |
| | | |
| | | this.issueTableConfigService.detailIssueTableConfig(param, resJsonData); |
| | | |
| | | return this.setSuccessMessage(resJsonData); |
| | | } |
| | |
| | | @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); |
| | | Map<String, Object> param = params.get(Constants.REQ_KEY_CONTENT); |
| | | param.put("issueTableType", IssueTableConfig.ISSUE_TABLE_TYPE_DOWN); |
| | | |
| | | this.issueTableConfigService.detailIssueTableConfig(param, resJsonData); |
| | | |
| | | return this.setSuccessMessage(resJsonData); |
| | | } |