Index: core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/controller/CoreController.java =================================================================== diff -u -rf42f59223d335acefa782d35118f0153b0537dc0 -r085c7685610b32da87d43577e26d614fb864286e --- core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/controller/CoreController.java (.../CoreController.java) (revision f42f59223d335acefa782d35118f0153b0537dc0) +++ core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/controller/CoreController.java (.../CoreController.java) (revision 085c7685610b32da87d43577e26d614fb864286e) @@ -45,6 +45,18 @@ modelAndView.addObject("result", "good"); return modelAndView; } + + @ResponseBody + @RequestMapping(value="/dmlExecute.do", method=RequestMethod.GET) + public ModelAndView dmlExecute(ComprehensiveTree comprehensiveTree, ModelMap model, + HttpServletRequest request) throws Exception { + + logger.info("CoreController :: dmlExecute :: tableName = " + comprehensiveTree.getC_title()); + coreService.dmlExecuteWithJSTF(comprehensiveTree); + ModelAndView modelAndView = new ModelAndView("jsonView"); + modelAndView.addObject("result", "good"); + return modelAndView; + } @ResponseBody @RequestMapping(value="/getChildNode.do", method=RequestMethod.GET) Index: core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/dao/CoreDao.java =================================================================== diff -u -r10e5d3274df88be1117aae490c5e8a0281e76f21 -r085c7685610b32da87d43577e26d614fb864286e --- core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/dao/CoreDao.java (.../CoreDao.java) (revision 10e5d3274df88be1117aae490c5e8a0281e76f21) +++ core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/dao/CoreDao.java (.../CoreDao.java) (revision 085c7685610b32da87d43577e26d614fb864286e) @@ -7,7 +7,7 @@ public interface CoreDao { public void ddlExecute(T comprehensiveTree) throws Exception; - public int dmlExecute(T comprehensiveTree) throws Exception; + public void dmlExecute(T comprehensiveTree) throws Exception; public List getChildNode(T comprehensiveTree) throws Exception; Index: core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/dao/CoreDaoImpl.java =================================================================== diff -u -r3c53ad231c62b46c27ca992bc960fc134068c1ae -r085c7685610b32da87d43577e26d614fb864286e --- core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/dao/CoreDaoImpl.java (.../CoreDaoImpl.java) (revision 3c53ad231c62b46c27ca992bc960fc134068c1ae) +++ core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/dao/CoreDaoImpl.java (.../CoreDaoImpl.java) (revision 085c7685610b32da87d43577e26d614fb864286e) @@ -19,8 +19,8 @@ } - public int dmlExecute(T comprehensiveTree) throws Exception { - return (Integer)update(comprehensiveTree.getSqlMapSelector() + "." + "dmlExecute", comprehensiveTree); + public void dmlExecute(T comprehensiveTree) throws Exception { + update(comprehensiveTree.getSqlMapSelector() + "." + "dmlExecute", comprehensiveTree); } @SuppressWarnings("unchecked") Index: core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/service/CoreService.java =================================================================== diff -u -r0b5d21d2056823b6054097e596e6efaad5b602b5 -r085c7685610b32da87d43577e26d614fb864286e --- core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/service/CoreService.java (.../CoreService.java) (revision 0b5d21d2056823b6054097e596e6efaad5b602b5) +++ core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/service/CoreService.java (.../CoreService.java) (revision 085c7685610b32da87d43577e26d614fb864286e) @@ -10,7 +10,7 @@ public void ddlExecuteWithJSTF(T comprehensiveTree) throws Exception; - public int dmlExecuteWithJSTF(T comprehensiveTree) throws Exception; + public void dmlExecuteWithJSTF(T comprehensiveTree) throws Exception; public T getNode(T comprehensiveTree) throws Exception; Index: core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/service/CoreServiceImpl.java =================================================================== diff -u -r0b5d21d2056823b6054097e596e6efaad5b602b5 -r085c7685610b32da87d43577e26d614fb864286e --- core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/service/CoreServiceImpl.java (.../CoreServiceImpl.java) (revision 0b5d21d2056823b6054097e596e6efaad5b602b5) +++ core-module/src/main/java/egovframework/com/ext/jstree/springiBatis/core/service/CoreServiceImpl.java (.../CoreServiceImpl.java) (revision 085c7685610b32da87d43577e26d614fb864286e) @@ -36,8 +36,8 @@ @Override @Transactional(readOnly = false, rollbackFor = { Exception.class }, propagation = Propagation.REQUIRED) - public int dmlExecuteWithJSTF(T comprehensiveTree) throws Exception { - return coreDao.dmlExecute(comprehensiveTree); + public void dmlExecuteWithJSTF(T comprehensiveTree) throws Exception { + coreDao.dmlExecute(comprehensiveTree); } public T getNode(T comprehensiveTree) throws Exception {