fix: 오류 fix

main
Jonguk. Lim 2 years ago
parent 3e367a3fb7
commit 8a83118d86

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

Loading…
Cancel
Save