Index: core-module/pom.xml =================================================================== diff -u -r523c4dcab46bd5dea66bff535e1f91e15e0d0e89 -r9d942b86edfaaef6b0f7852aa3e965c11da6835e --- core-module/pom.xml (.../pom.xml) (revision 523c4dcab46bd5dea66bff535e1f91e15e0d0e89) +++ core-module/pom.xml (.../pom.xml) (revision 9d942b86edfaaef6b0f7852aa3e965c11da6835e) @@ -7,7 +7,7 @@ 313devgrp java-service-tree-framework-core-library - 23.01.16 + 23.01.17 ../pom.xml @@ -31,7 +31,7 @@ 313devgrp lib-module - 23.01.16 + 23.01.17 pom Index: core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/RouteTableInterceptor.java =================================================================== diff -u -r523c4dcab46bd5dea66bff535e1f91e15e0d0e89 -r9d942b86edfaaef6b0f7852aa3e965c11da6835e --- core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/RouteTableInterceptor.java (.../RouteTableInterceptor.java) (revision 523c4dcab46bd5dea66bff535e1f91e15e0d0e89) +++ core-module/src/main/java/egovframework/com/ext/jstree/springHibernate/core/interceptor/RouteTableInterceptor.java (.../RouteTableInterceptor.java) (revision 9d942b86edfaaef6b0f7852aa3e965c11da6835e) @@ -55,6 +55,39 @@ String replaceTableName = (String) SessionUtil.getAttribute("getHistory"); return replaceStatement(prepedStatement, replaceTableName); } + }else if(StringUtils.contains(servletPath,"T_ARMS_REQSTATUS_")){ + if(StringUtils.contains(servletPath,"getStatusMonitor.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("getStatusMonitor"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"getStatusNode.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("getStatusNode"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"getStatusChildNode.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("getStatusChildNode"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"getStatusChildNodeWithParent.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("getStatusChildNodeWithParent"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"addStatusNode.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("addStatusNode"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"updateStatusNode.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("updateStatusNode"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"moveStatusNode.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("moveStatusNode"); + return replaceStatement(prepedStatement, replaceTableName); + } + if(StringUtils.contains(servletPath,"getStatusHistory.do")){ + String replaceTableName = (String) SessionUtil.getAttribute("getStatusHistory"); + return replaceStatement(prepedStatement, replaceTableName); + } } logger.info("RouteTableInterceptor :: servletPath -> " + servletPath); } catch (Exception e) { @@ -112,6 +145,34 @@ tableName = (String) SessionUtil.getAttribute("getHistory"); } } + }else if(StringUtils.equals(tableName, "T_ARMS_REQSTATUS")){ + String servletPath = request.getServletPath(); + if(StringUtils.contains(servletPath,"T_ARMS_REQSTATUS_")){ + if(StringUtils.contains(servletPath,"getStatusMonitor.do")){ + tableName = (String) SessionUtil.getAttribute("getStatusMonitor"); + } + if(StringUtils.contains(servletPath,"getStatusNode.do")){ + tableName = (String) SessionUtil.getAttribute("getStatusNode"); + } + if(StringUtils.contains(servletPath,"getStatusChildNode.do")){ + tableName = (String) SessionUtil.getAttribute("getStatusChildNode"); + } + if(StringUtils.contains(servletPath,"getStatusChildNodeWithParent.do")){ + tableName = (String) SessionUtil.getAttribute("getStatusChildNodeWithParent"); + } + if(StringUtils.contains(servletPath,"addStatusNode.do")){ + tableName = (String) SessionUtil.getAttribute("addStatusNode"); + } + if(StringUtils.contains(servletPath,"updateStatusNode.do")){ + tableName = (String) SessionUtil.getAttribute("updateStatusNode"); + } + if(StringUtils.contains(servletPath,"moveStatusNode.do")){ + tableName = (String) SessionUtil.getAttribute("moveStatusNode"); + } + if(StringUtils.contains(servletPath,"getStatusHistory.do")){ + tableName = (String) SessionUtil.getAttribute("getStatusHistory"); + } + } } return tableName; } Index: lib-module/pom.xml =================================================================== diff -u -r523c4dcab46bd5dea66bff535e1f91e15e0d0e89 -r9d942b86edfaaef6b0f7852aa3e965c11da6835e --- lib-module/pom.xml (.../pom.xml) (revision 523c4dcab46bd5dea66bff535e1f91e15e0d0e89) +++ lib-module/pom.xml (.../pom.xml) (revision 9d942b86edfaaef6b0f7852aa3e965c11da6835e) @@ -5,7 +5,7 @@ 313devgrp java-service-tree-framework-core-library - 23.01.16 + 23.01.17 ../pom.xml Index: pom.xml =================================================================== diff -u -r523c4dcab46bd5dea66bff535e1f91e15e0d0e89 -r9d942b86edfaaef6b0f7852aa3e965c11da6835e --- pom.xml (.../pom.xml) (revision 523c4dcab46bd5dea66bff535e1f91e15e0d0e89) +++ pom.xml (.../pom.xml) (revision 9d942b86edfaaef6b0f7852aa3e965c11da6835e) @@ -10,7 +10,7 @@ 4.0.0 313devgrp java-service-tree-framework-core-library - 23.01.16 + 23.01.17 pom java-service-tree-framework-core-library