diff --git a/src/main/java/kr/xit/fims/biz/cmm/FimsConst.java b/src/main/java/kr/xit/fims/biz/FimsConst.java similarity index 97% rename from src/main/java/kr/xit/fims/biz/cmm/FimsConst.java rename to src/main/java/kr/xit/fims/biz/FimsConst.java index b1377869..9911f4f8 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/FimsConst.java +++ b/src/main/java/kr/xit/fims/biz/FimsConst.java @@ -1,4 +1,4 @@ -package kr.xit.fims.biz.cmm; +package kr.xit.fims.biz; import lombok.AllArgsConstructor; import lombok.Getter; diff --git a/src/main/java/kr/xit/fims/biz/cmm/FimsMapperStrategy.java b/src/main/java/kr/xit/fims/biz/cmm/FimsMapperStrategy.java deleted file mode 100644 index 9931207d..00000000 --- a/src/main/java/kr/xit/fims/biz/cmm/FimsMapperStrategy.java +++ /dev/null @@ -1,53 +0,0 @@ -package kr.xit.fims.biz.cmm; - -import java.sql.SQLException; -import java.util.List; - -import org.apache.ibatis.session.RowBounds; - -public interface FimsMapperStrategy { - - /** - *
메소드 설명: 다건 조회
- * @param searchVO - * @return - * @throws SQLException List 요청처리 후 응답객체 - * @author: 최정민 - * @date: 2022. 9. 14. - */ - List findList(P param, RowBounds rowBounds); - - /** - *
메소드 설명: 단건 조회
- * @param searchVO - * @return - * @throws SQLException T 요청처리 후 응답객체 - * @author: 최정민 - * @date: 2022. 9. 14. - */ - T findView(T vo); - - /** - *
메소드 설명: 등록
- * @param vo void 요청처리 후 응답객체 - * @author: 최정민 - * @date: 2022. 9. 14. - */ - void addProc(T vo); - - /** - *
메소드 설명: 수정
- * @param vo void 요청처리 후 응답객체 - * @author: 최정민 - * @date: 2022. 9. 14. - */ - void modifyProc(T vo); - - /** - *
메소드 설명: 삭제
- * @param vo void 요청처리 후 응답객체 - * @author: 최정민 - * @date: 2022. 9. 14. - */ - void removeProc(T vo); -} diff --git a/src/main/java/kr/xit/fims/biz/cmm/FimsServiceStrategy.java b/src/main/java/kr/xit/fims/biz/cmm/FimsServiceStrategy.java deleted file mode 100644 index cabf2aeb..00000000 --- a/src/main/java/kr/xit/fims/biz/cmm/FimsServiceStrategy.java +++ /dev/null @@ -1,19 +0,0 @@ -package kr.xit.fims.biz.cmm; - -import java.sql.SQLException; -import java.util.List; - -import org.apache.ibatis.session.RowBounds; - -public interface FimsServiceStrategy { - - List findList(P searchVO, RowBounds rowBounds) throws SQLException; - - T findView(T vo); - - void addProc(T vo); - - void modifyProc(T vo); - - void removeProc(T vo); -} diff --git a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/mapper/FimsTotalPopupMapper.java b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/mapper/FimsTotalPopupMapper.java index 73414913..f336ba6d 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/mapper/FimsTotalPopupMapper.java +++ b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/mapper/FimsTotalPopupMapper.java @@ -1,10 +1,7 @@ package kr.xit.fims.biz.cmm.fimsTotalPopup.mapper; import egovframework.rte.psl.dataaccess.mapper.Mapper; -import kr.xit.fims.biz.cmm.FimsMapperStrategy; -import kr.xit.fims.biz.cmm.fimsTotalPopup.model.FimsTotalPopupSearchVO; import kr.xit.fims.biz.cmm.fimsTotalPopup.model.FimsTotalPopupVO; -import org.apache.ibatis.session.RowBounds; @Mapper public interface FimsTotalPopupMapper { diff --git a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/service/FimsTotalPopupService.java b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/service/FimsTotalPopupService.java index cac74124..c49de238 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/service/FimsTotalPopupService.java +++ b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/service/FimsTotalPopupService.java @@ -13,14 +13,17 @@ public class FimsTotalPopupService implements IFimsTotalPopupService { private final FimsTotalPopupMapper fimsTotalPopupMapper; @Override + @Transactional(readOnly = true) public FimsTotalPopupVO findTotalView(FimsTotalPopupVO vo) { return fimsTotalPopupMapper.findTotalView(vo); } @Override + @Transactional public void addProc(FimsTotalPopupVO vo){ fimsTotalPopupMapper.addProc(vo); } @Override + @Transactional public void modifyProc(FimsTotalPopupVO vo) { @@ -39,6 +42,7 @@ public class FimsTotalPopupService implements IFimsTotalPopupService { @Override + @Transactional public void removeProc(FimsTotalPopupVO vo) { //단속정보 삭제 diff --git a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java index 58bc8bf0..b2c702a4 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java +++ b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java @@ -1,6 +1,6 @@ package kr.xit.fims.biz.cmm.fimsTotalPopup.web; -import kr.xit.fims.biz.cmm.FimsConst; +import kr.xit.fims.biz.FimsConst; import kr.xit.fims.biz.cmm.fimsTotalPopup.model.FimsTotalPopupVO; import kr.xit.fims.biz.cmm.fimsTotalPopup.service.IFimsTotalPopupService; import kr.xit.framework.core.constants.FrameworkConstants; @@ -11,7 +11,6 @@ import kr.xit.framework.support.util.constants.MessageKey; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; -import lombok.AllArgsConstructor; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.web.servlet.ModelAndView; diff --git a/src/main/java/kr/xit/fims/biz/ec/service/EcNatlNewspaperService.java b/src/main/java/kr/xit/fims/biz/ec/service/EcNatlNewspaperService.java index 1bb75b85..9650a638 100644 --- a/src/main/java/kr/xit/fims/biz/ec/service/EcNatlNewspaperService.java +++ b/src/main/java/kr/xit/fims/biz/ec/service/EcNatlNewspaperService.java @@ -17,7 +17,7 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.multipart.MultipartFile; -import kr.xit.fims.biz.cmm.FimsConst; +import kr.xit.fims.biz.FimsConst; import kr.xit.fims.biz.ec.mapper.IEcCtznSttemntMapper; import kr.xit.fims.biz.ec.mapper.IEcNatlNewspaperMapper; import kr.xit.fims.biz.ec.model.CtznSttemntDTO; diff --git a/src/main/java/kr/xit/fims/biz/ec/web/Ec0100Controler.java b/src/main/java/kr/xit/fims/biz/ec/web/Ec0100Controler.java index 33842d79..f6f1b76e 100644 --- a/src/main/java/kr/xit/fims/biz/ec/web/Ec0100Controler.java +++ b/src/main/java/kr/xit/fims/biz/ec/web/Ec0100Controler.java @@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.ModelAndView; -import kr.xit.fims.biz.cmm.FimsConst; +import kr.xit.fims.biz.FimsConst; import kr.xit.fims.biz.ec.service.IEc0100Service; import kr.xit.framework.biz.mng.menu.model.ProgramMngVO; import kr.xit.framework.core.constants.FrameworkConstants; @@ -18,7 +18,6 @@ import kr.xit.framework.support.mybatis.MybatisUtils; import kr.xit.framework.support.util.AjaxMessageMapRenderer; import kr.xit.framework.support.util.Checks; import kr.xit.framework.support.util.constants.MessageKey; -import lombok.AllArgsConstructor; import lombok.RequiredArgsConstructor; @RequiredArgsConstructor diff --git a/src/main/java/kr/xit/fims/biz/ec/web/EcNatlNewspaperController.java b/src/main/java/kr/xit/fims/biz/ec/web/EcNatlNewspaperController.java index 9ada2278..9cc2342e 100644 --- a/src/main/java/kr/xit/fims/biz/ec/web/EcNatlNewspaperController.java +++ b/src/main/java/kr/xit/fims/biz/ec/web/EcNatlNewspaperController.java @@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.ModelAndView; -import kr.xit.fims.biz.cmm.FimsConst; +import kr.xit.fims.biz.FimsConst; import kr.xit.fims.biz.ec.model.EcNatlNewspaperRcvReqDTO; import kr.xit.fims.biz.ec.service.IEcNatlNewspaperService; import kr.xit.framework.core.constants.FrameworkConstants; diff --git a/src/main/java/kr/xit/fims/biz/rt/web/Rt100MgtController.java b/src/main/java/kr/xit/fims/biz/rt/web/Rt100MgtController.java index cb718641..37b8bbbe 100644 --- a/src/main/java/kr/xit/fims/biz/rt/web/Rt100MgtController.java +++ b/src/main/java/kr/xit/fims/biz/rt/web/Rt100MgtController.java @@ -1,9 +1,8 @@ package kr.xit.fims.biz.rt.web; -import kr.xit.fims.biz.cmm.FimsConst; +import kr.xit.fims.biz.FimsConst; import kr.xit.fims.biz.rt.service.IRt100MgtService; import kr.xit.framework.biz.mng.code.model.XitClCodeMngVO; -import kr.xit.framework.biz.mng.code.service.ICodeCfnMgtService; import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.model.ResultResponse; import kr.xit.framework.support.mybatis.MybatisUtils; diff --git a/src/main/java/kr/xit/framework/biz/cmm/service/CmmFileService.java b/src/main/java/kr/xit/framework/biz/cmm/service/CmmFileService.java index 0acc4aa5..5bddfd72 100644 --- a/src/main/java/kr/xit/framework/biz/cmm/service/CmmFileService.java +++ b/src/main/java/kr/xit/framework/biz/cmm/service/CmmFileService.java @@ -13,7 +13,7 @@ import org.springframework.util.Assert; import org.springframework.util.StringUtils; import org.springframework.web.multipart.MultipartFile; -import kr.xit.fims.biz.cmm.FimsConst; +import kr.xit.fims.biz.FimsConst; import kr.xit.framework.biz.cmm.mapper.ICmmFileMapper; import kr.xit.framework.biz.cmm.model.CmmFileDtlDTO; import kr.xit.framework.biz.cmm.model.CmmFileMstDTO;