OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-12-08 257766aa7e8a88b2b371fc6f8f52751af7d84eda
src/main/java/kr/wisestone/owl/web/controller/IssueTableConfigController.java
@@ -1,6 +1,7 @@
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;
@@ -64,7 +65,10 @@
    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);
    }
@@ -75,7 +79,11 @@
    @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);
    }
@@ -86,7 +94,10 @@
    @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);
    }