Index: pom.xml
===================================================================
diff -u -r1491162b8ffd716425cd9694bc0a1efc7c077583 -r0ba4881d31ade128390177d22dac88738e4e67cc
--- pom.xml (.../pom.xml) (revision 1491162b8ffd716425cd9694bc0a1efc7c077583)
+++ pom.xml (.../pom.xml) (revision 0ba4881d31ade128390177d22dac88738e4e67cc)
@@ -10,7 +10,7 @@
4.0.0
313devgrp
java-service-tree-framework-backend-server
- 22.11.12
+ 22.11.15
pom
java-service-tree-framework
FishEye: Tag 7550ca4d4750fb44d3fba5f1477108a8c1b3cee7 refers to a dead (removed) revision in file `src/main/resources/rebel.xml'.
FishEye: No comparison available. Pass `N' to diff?
Index: web-module/pom.xml
===================================================================
diff -u -r1491162b8ffd716425cd9694bc0a1efc7c077583 -r0ba4881d31ade128390177d22dac88738e4e67cc
--- web-module/pom.xml (.../pom.xml) (revision 1491162b8ffd716425cd9694bc0a1efc7c077583)
+++ web-module/pom.xml (.../pom.xml) (revision 0ba4881d31ade128390177d22dac88738e4e67cc)
@@ -7,7 +7,7 @@
313devgrp
java-service-tree-framework-backend-server
- 22.11.12
+ 22.11.15
../pom.xml
Index: web-module/src/main/java/egovframework/api/arms/module_reqadd/controller/UserReqAddController.java
===================================================================
diff -u -r1491162b8ffd716425cd9694bc0a1efc7c077583 -r0ba4881d31ade128390177d22dac88738e4e67cc
--- web-module/src/main/java/egovframework/api/arms/module_reqadd/controller/UserReqAddController.java (.../UserReqAddController.java) (revision 1491162b8ffd716425cd9694bc0a1efc7c077583)
+++ web-module/src/main/java/egovframework/api/arms/module_reqadd/controller/UserReqAddController.java (.../UserReqAddController.java) (revision 0ba4881d31ade128390177d22dac88738e4e67cc)
@@ -64,12 +64,39 @@
@ResponseBody
@RequestMapping(
- value = {"{changeReqTableName}/getChildNode.do"},
+ value = {"/{changeReqTableName}/getNode.do"},
method = {RequestMethod.GET}
)
+ public ModelAndView getSwitchDBNode(
+ @PathVariable(value ="changeReqTableName") String changeReqTableName
+ ,V reqAddDTO, HttpServletRequest request) throws Exception {
+
+ ParameterParser parser = new ParameterParser(request);
+
+ if (parser.getInt("c_id") <= 0) {
+ throw new RuntimeException();
+ } else {
+
+ SessionUtil.setAttribute("replaceTableName",changeReqTableName);
+
+ V returnVO = reqAdd.getNode(reqAddDTO);
+
+ SessionUtil.removeAttribute("replaceTableName");
+
+ ModelAndView modelAndView = new ModelAndView("jsonView");
+ modelAndView.addObject("result", returnVO);
+ return modelAndView;
+ }
+ }
+
+ @ResponseBody
+ @RequestMapping(
+ value = {"/{changeReqTableName}/getChildNode.do"},
+ method = {RequestMethod.GET}
+ )
public ModelAndView
- getChildNode(@PathVariable(value ="changeReqTableName") String changeReqTableName,
- V reqAddDTO, HttpServletRequest request) throws Exception {
+ getSwitchDBChildNode(@PathVariable(value ="changeReqTableName") String changeReqTableName,
+ ReqAddDTO reqAddDTO, HttpServletRequest request) throws Exception {
ParameterParser parser = new ParameterParser(request);
if (parser.getInt("c_id") <= 0) {
throw new RuntimeException();
@@ -90,10 +117,10 @@
@ResponseBody
@RequestMapping(
- value = {"{changeReqTableName}/addNode.do"},
+ value = {"/{changeReqTableName}/addNode.do"},
method = {RequestMethod.POST}
)
- public ModelAndView addNode(
+ public ModelAndView addSwitchDBNode(
@PathVariable(value ="changeReqTableName") String changeReqTableName,
@Validated({AddNode.class}) ReqAddDTO reqAddDTO,
BindingResult bindingResult, ModelMap model) throws Exception {
@@ -117,10 +144,10 @@
@ResponseBody
@RequestMapping(
- value = {"{changeReqTableName}/moveNode.do"},
+ value = {"/{changeReqTableName}/moveNode.do"},
method = {RequestMethod.POST}
)
- public ModelAndView moveNode(
+ public ModelAndView moveSwitchDBNode(
@PathVariable(value ="changeReqTableName") String changeReqTableName,
@Validated({MoveNode.class}) ReqAddDTO reqAddDTO,
BindingResult bindingResult, ModelMap model, HttpServletRequest request) throws Exception {
@@ -147,7 +174,7 @@
value = {"/getTest.do"},
method = {RequestMethod.GET}
)
- public ModelAndView getTest(ReqAddSqlMaaperDTO reqAddSqlMaaperDTO, HttpServletRequest request) throws Exception {
+ public ModelAndView getSwitchDBTest(ReqAddSqlMaaperDTO reqAddSqlMaaperDTO, HttpServletRequest request) throws Exception {
ParameterParser parser = new ParameterParser(request);
FishEye: Tag b308ba2fe0ccdfa2b7ccd7e7459dc35d8036008b refers to a dead (removed) revision in file `web-module/src/main/resources/rebel.xml'.
FishEye: No comparison available. Pass `N' to diff?