diff --git a/src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java b/src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java index a13a5e8b..d0633f0f 100644 --- a/src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java +++ b/src/main/java/kr/xit/framework/biz/mng/menu/list/service/impl/XitMenuListMngServiceImpl.java @@ -20,14 +20,14 @@ import egovframework.rte.fdl.excel.EgovExcelService; import kr.xit.framework.biz.cmm.model.XitMenuInfoVO; import kr.xit.framework.biz.cmm.model.ProgrmListVO; import kr.xit.framework.biz.cmm.service.XitFrameCrudService; +import kr.xit.framework.biz.mng.mapper.ProgramMngMapper; import kr.xit.framework.biz.mng.menu.create.dao.XitMenuCreateMngMapper; import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngVO; import kr.xit.framework.biz.mng.menu.list.service.XitMenuListMngService; -import kr.xit.framework.biz.mng.menu.program.dao.XitProgramMngMapper; -import kr.xit.framework.biz.mng.menu.program.model.XitProgramMngVO; import kr.xit.framework.biz.mng.menu.list.dao.XitMenuListMngMapper; import kr.xit.framework.biz.mng.menu.list.model.XitMenuListMngSearchVO; -import kr.xit.framework.biz.mng.menu.program.service.XitProgramMngService; +import kr.xit.framework.biz.mng.model.ProgramMngVO; +import kr.xit.framework.biz.mng.service.ProgramMngService; import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.utils.XitCmmnUtil; @@ -39,9 +39,9 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { @Resource private XitMenuListMngMapper xitMenuListMngMapper; @Resource - private XitProgramMngMapper xitProgramMngMapper; + private ProgramMngMapper programMngMapper; @Resource - private XitProgramMngService xitProgramMngService; + private ProgramMngService programMngService; @Resource private XitMenuCreateMngMapper xitMenuCreateMngMapper; @Resource @@ -251,7 +251,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { * @exception Exception */ private boolean deleteAllProgrm() throws Exception { - xitProgramMngMapper.deleteAllProgrm(); + programMngMapper.deleteAllProgrm(); return true; } @@ -261,7 +261,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { * @exception Exception */ private boolean deleteAllProgrmDtls() throws Exception { - xitProgramMngMapper.deleteAllProgrmDtls(); + programMngMapper.deleteAllProgrmDtls(); return true; } @@ -406,7 +406,7 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { try { int rows = progrmSheet.getPhysicalNumberOfRows(); //행 갯수 가져오기 for (int j = 1; j < rows; j++) { //row 루프 - XitProgramMngVO vo = new XitProgramMngVO(); + ProgramMngVO vo = new ProgramMngVO(); Row row = progrmSheet.getRow(j); //row 가져오기 if (row != null) { //int cells=row.getPhysicalNumberOfCells(); //cell 갯수 가져오기 @@ -533,11 +533,11 @@ public class XitMenuListMngServiceImpl implements XitMenuListMngService { * @return boolean * @exception Exception */ - private boolean insertProgrm(XitProgramMngVO vo) throws Exception { - if(XitCmmnUtil.isEmpty(xitProgramMngService.findView(vo))) - xitProgramMngService.addProc(vo); + private boolean insertProgrm(ProgramMngVO vo) throws Exception { + if(XitCmmnUtil.isEmpty(programMngService.findView(vo))) + programMngService.addProc(vo); else - xitProgramMngService.modifyProc(vo); + programMngService.modifyProc(vo); return true; }