OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-11-09 4c4c069f0daca62fce3a4673239e911283e6b24a
ISP 백엔드 수정
1개 파일 변경됨
6 ■■■■ 파일 변경됨
src/main/java/kr/wisestone/owl/web/controller/IspFieldController.java 6 ●●●● 패치 | 보기 | raw | blame | 히스토리
src/main/java/kr/wisestone/owl/web/controller/IspFieldController.java
@@ -2,7 +2,7 @@
import kr.wisestone.owl.constant.Constants;
import kr.wisestone.owl.service.IspFieldService;
import kr.wisestone.owl.web.condition.IspCondition;
import kr.wisestone.owl.web.condition.IspFieldCondition;
import kr.wisestone.owl.web.form.IspFieldForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
@@ -45,7 +45,7 @@
        Map<String, Object> resJsonData = new HashMap<>();
        Pageable pageable = this.pageUtil.convertPageable(this.getPageVo(params));
        this.IspFieldService.find(resJsonData, IspCondition.make(params.get(Constants.REQ_KEY_CONTENT)), pageable);
        this.IspFieldService.find(resJsonData, IspFieldCondition.make(params.get(Constants.REQ_KEY_CONTENT)), pageable);
        return this.setSuccessMessage(resJsonData);
    }
@@ -56,7 +56,7 @@
    @ResponseBody
    Map<String, Object> detail(@RequestBody Map<String, Map<String, Object>> params) {
        Map<String, Object> resJsonData = new HashMap<>();
        this.IspFieldService.detail(resJsonData, IspCondition.make(params.get(Constants.REQ_KEY_CONTENT)));
        this.IspFieldService.detail(resJsonData, IspFieldCondition.make(params.get(Constants.REQ_KEY_CONTENT)));
        return this.setSuccessMessage(resJsonData);
    }