no message

main
이범준 3 months ago
parent 9a5b45daa9
commit c5ee927e09

@ -22,7 +22,11 @@ import com.fasterxml.jackson.databind.ObjectMapper;
@Configuration @Configuration
@ComponentScan(basePackages = {"cokr.xit","externalsystem.sinmungo"}) @ComponentScan(basePackages = {"cokr.xit",
"externalsystem.sinmungo",
"externalsystem.nxrp",
"externalsystem.piss"
})
public class CommonConfig { public class CommonConfig {
/**AntPathMatcher . /**AntPathMatcher .
* @return AntPathMatcher * @return AntPathMatcher

@ -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;
}
}

@ -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;
}
}
Loading…
Cancel
Save