From c5ee927e0914309983a67de256fb9c7e76f249da Mon Sep 17 00:00:00 2001 From: leebj Date: Fri, 30 Aug 2024 09:26:57 +0900 Subject: [PATCH] no message --- .../cokr/xit/custom/boot/CommonConfig.java | 6 ++- .../nxrp/web/NxrpController.java | 50 +++++++++++++++++++ .../piss/web/PissController.java | 23 +++++++++ 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 src/main/java/externalsystem/nxrp/web/NxrpController.java create mode 100644 src/main/java/externalsystem/piss/web/PissController.java diff --git a/src/main/java/cokr/xit/custom/boot/CommonConfig.java b/src/main/java/cokr/xit/custom/boot/CommonConfig.java index 9fa95e9a..c552ed06 100644 --- a/src/main/java/cokr/xit/custom/boot/CommonConfig.java +++ b/src/main/java/cokr/xit/custom/boot/CommonConfig.java @@ -22,7 +22,11 @@ import com.fasterxml.jackson.databind.ObjectMapper; @Configuration -@ComponentScan(basePackages = {"cokr.xit","externalsystem.sinmungo"}) +@ComponentScan(basePackages = {"cokr.xit", + "externalsystem.sinmungo", + "externalsystem.nxrp", + "externalsystem.piss" +}) public class CommonConfig { /**AntPathMatcher를 반환한다. * @return AntPathMatcher diff --git a/src/main/java/externalsystem/nxrp/web/NxrpController.java b/src/main/java/externalsystem/nxrp/web/NxrpController.java new file mode 100644 index 00000000..52702d7a --- /dev/null +++ b/src/main/java/externalsystem/nxrp/web/NxrpController.java @@ -0,0 +1,50 @@ +package externalsystem.nxrp.web; + +import javax.servlet.http.HttpServletRequest; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.servlet.ModelAndView; + +import cokr.xit.foundation.web.AbstractController; + +@Controller +@RequestMapping(name="세외수입 연계", value="/mediate") +public class NxrpController extends AbstractController { + + @RequestMapping(name="세외수입 연계", value="/ltis") + public ModelAndView conn(HttpServletRequest req) { + + ModelAndView mav = new ModelAndView("jsonView"); + + String customHeader_ifId = req.getHeader("if_id"); + if(customHeader_ifId.equals("ERR_Z000012LGS_1741000NIS_0011")) { // 특화 b-11 과태료 대장 목록 조회 + + } else if(customHeader_ifId.equals("ERR_Z000012LGS_1741000NIS_0012")) { //특화 b-12 과태료 대장 상세 조회 + + } else if(customHeader_ifId.equals("ERR_Z000001LGE_1741000NIS_0001")) { //개별 a01 과태료 대장 단속 정보 등록 + + } else if(customHeader_ifId.equals("ERR_Z000001LGE_1741000NIS_0002")) { //개별 a03 과태료 대장 등록 자료 상세 조회 + + } + String customHeader_src_org_cd = req.getHeader("src_org_cd"); + String customHeader_src_sys_cd = req.getHeader("src_sys_cd"); + + + String head = req.getParameter("head"); + String ifDate; + String ifMsgKey; + String ifId; + String source; + String target; + String ifType; + String ifFormat; + String retName; + String retCode; + + String body = req.getParameter("body"); + + + return mav; + } +} diff --git a/src/main/java/externalsystem/piss/web/PissController.java b/src/main/java/externalsystem/piss/web/PissController.java new file mode 100644 index 00000000..ad410c5f --- /dev/null +++ b/src/main/java/externalsystem/piss/web/PissController.java @@ -0,0 +1,23 @@ +package externalsystem.piss.web; + +import javax.servlet.http.HttpServletRequest; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.servlet.ModelAndView; + +import cokr.xit.foundation.web.AbstractController; + +@RequestMapping(name="행정정보공동이용시스템 연계", value="/piss/api") + +public class PissController extends AbstractController { + + @RequestMapping(name="차적", value="molit/SignguCarBassMatterInqireService") + public ModelAndView signguCarBassMatterInqireService(HttpServletRequest req) { + ModelAndView mav = new ModelAndView("jsonView"); + + //req. + + return mav; + } + +}