diff --git a/src/main/java/cokr/xit/fims/sprt/service/Sprt01Service.java b/src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java similarity index 97% rename from src/main/java/cokr/xit/fims/sprt/service/Sprt01Service.java rename to src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java index 9c21ffe2..cbaf75b6 100644 --- a/src/main/java/cokr/xit/fims/sprt/service/Sprt01Service.java +++ b/src/main/java/cokr/xit/fims/sprt/service/IntegrationSearchService.java @@ -17,7 +17,7 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ -public interface Sprt01Service { +public interface IntegrationSearchService { /**지정한 조건에 따라 통합 조회 자료 목록을 반환한다. * @param query 통합 조회 조건 diff --git a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01Bean.java b/src/main/java/cokr/xit/fims/sprt/service/bean/IntegrationSearchBean.java similarity index 94% rename from src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01Bean.java rename to src/main/java/cokr/xit/fims/sprt/service/bean/IntegrationSearchBean.java index a470f533..358d6e27 100644 --- a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01Bean.java +++ b/src/main/java/cokr/xit/fims/sprt/service/bean/IntegrationSearchBean.java @@ -23,8 +23,8 @@ import cokr.xit.foundation.data.DataObject; * ================================ * */ -@Component("sprt01Bean") -public class Sprt01Bean extends AbstractComponent { +@Component("integrationSearchBean") +public class IntegrationSearchBean extends AbstractComponent { /** 통합 조회 정보 DAO */ @Resource(name = "integrationSearchMapper") diff --git a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java b/src/main/java/cokr/xit/fims/sprt/service/bean/IntegrationSearchServiceBean.java similarity index 98% rename from src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java rename to src/main/java/cokr/xit/fims/sprt/service/bean/IntegrationSearchServiceBean.java index ad58f98b..52b3b209 100644 --- a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java +++ b/src/main/java/cokr/xit/fims/sprt/service/bean/IntegrationSearchServiceBean.java @@ -56,7 +56,7 @@ import cokr.xit.fims.sprt.PrintOption; import cokr.xit.fims.sprt.SprtQuery; import cokr.xit.fims.sprt.dao.IntegrationSearchMapper; import cokr.xit.fims.sprt.dao.OtptStngMapper; -import cokr.xit.fims.sprt.service.Sprt01Service; +import cokr.xit.fims.sprt.service.IntegrationSearchService; import cokr.xit.foundation.UserInfo; import cokr.xit.foundation.component.AbstractServiceBean; import cokr.xit.foundation.data.DataObject; @@ -75,12 +75,12 @@ import net.lingala.zip4j.ZipFile; * ================================ * */ -@Service("sprt01Service") -public class Sprt01ServiceBean extends AbstractServiceBean implements Sprt01Service { +@Service("integrationSearchService") +public class IntegrationSearchServiceBean extends AbstractServiceBean implements IntegrationSearchService { /** 업무지원 Bean */ - @Resource(name="sprt01Bean") - protected Sprt01Bean sprt01Bean; + @Resource(name="integrationSearchBean") + protected IntegrationSearchBean integrationSearchBean; @Resource(name="factionBean") protected FactionBean factionBean; @@ -105,13 +105,13 @@ public class Sprt01ServiceBean extends AbstractServiceBean implements Sprt01Serv @Override public List getIntegrationDataList(SprtQuery query) { - return sprt01Bean.getIntegrationDataList(query); + return integrationSearchBean.getIntegrationDataList(query); } @Override public boolean updateEtcCn(String etcCn, String... crdnIds) { - return sprt01Bean.updateEtcCn(etcCn, crdnIds); + return integrationSearchBean.updateEtcCn(etcCn, crdnIds); } diff --git a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java index b7c07141..93134c00 100644 --- a/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java +++ b/src/main/java/cokr/xit/fims/sprt/web/Sprt01Controller.java @@ -35,7 +35,7 @@ import cokr.xit.fims.sprt.OtptForm; import cokr.xit.fims.sprt.OtptStngQuery; import cokr.xit.fims.sprt.PrintOption; import cokr.xit.fims.sprt.SprtQuery; -import cokr.xit.fims.sprt.service.Sprt01Service; +import cokr.xit.fims.sprt.service.IntegrationSearchService; import cokr.xit.fims.sprt.service.bean.OtptStngBean; import cokr.xit.fims.stat.dao.StatMapper; import cokr.xit.foundation.data.DataObject; @@ -83,8 +83,8 @@ public class Sprt01Controller extends ApplicationController { } /**통합 조회 서비스*/ - @Resource(name="sprt01Service") - private Sprt01Service sprt01Service; + @Resource(name="integrationSearchService") + private IntegrationSearchService integrationSearchService; @Resource(name="globalStngMapper") protected GlobalStngMapper globalStngMapper; @@ -159,7 +159,7 @@ public class Sprt01Controller extends ApplicationController { } /**지정한 조건에 따라 통합 조회 자료 목록을 반환한다.
- * {@link Sprt01Service#getIntegrationDataList(SprtQuery)} 참고 + * {@link IntegrationSearchService#getIntegrationDataList(SprtQuery)} 참고 * @param query 통합 조회 조건 * @return jsonView */ @@ -168,7 +168,7 @@ public class Sprt01Controller extends ApplicationController { this.makeIntegrationSearchQuery(query, req); - List list = sprt01Service.getIntegrationDataList(query); + List list = integrationSearchService.getIntegrationDataList(query); List upList = list.stream().filter(item -> item.string("RCVMT_ETC_YN").equals("N")).toList(); List downList = list.stream().filter(item -> item.string("RCVMT_ETC_YN").equals("Y")).toList(); @@ -394,7 +394,7 @@ public class Sprt01Controller extends ApplicationController { boolean saved = false; - saved = sprt01Service.updateEtcCn(crdn.getEtcCn(), crdnIds); + saved = integrationSearchService.updateEtcCn(crdn.getEtcCn(), crdnIds); mav.addObject("saved", saved); @@ -422,7 +422,7 @@ public class Sprt01Controller extends ApplicationController { PrintOption printOption = new PrintOption(); printOption.setPrivateInfoYn(privateInfoYn); - result = sprt01Service.makeFileFromHwpFormat("list", "crdnList", printOption ,crdnIds); + result = integrationSearchService.makeFileFromHwpFormat("list", "crdnList", printOption ,crdnIds); ModelAndView mav = new ModelAndView("jsonView"); mav.addAllObjects(result); @@ -437,7 +437,7 @@ public class Sprt01Controller extends ApplicationController { PrintOption printOption = new PrintOption(); - result = sprt01Service.makeFileFromHwpFormat("info", "crdnConfirm", printOption, crdnIds); + result = integrationSearchService.makeFileFromHwpFormat("info", "crdnConfirm", printOption, crdnIds); ModelAndView mav = new ModelAndView("jsonView"); mav.addAllObjects(result); @@ -462,7 +462,7 @@ public class Sprt01Controller extends ApplicationController { public ModelAndView makeRequestForDeliveryFileFromHwpFormat(PrintOption printOption, String[] crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); - Map result = sprt01Service.makeFileFromHwpFormat("list", "requestForDelivery", printOption, crdnIds); + Map result = integrationSearchService.makeFileFromHwpFormat("list", "requestForDelivery", printOption, crdnIds); mav.addAllObjects(result); return mav; } @@ -473,7 +473,7 @@ public class Sprt01Controller extends ApplicationController { public ModelAndView makeReportOnClaimsFileFromHwpFormat(PrintOption printOption, String[] crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); - Map result = sprt01Service.makeFileFromHwpFormat("list", "reportOnClaims", printOption, crdnIds); + Map result = integrationSearchService.makeFileFromHwpFormat("list", "reportOnClaims", printOption, crdnIds); mav.addAllObjects(result); return mav; @@ -487,7 +487,7 @@ public class Sprt01Controller extends ApplicationController { PrintOption printOption = new PrintOption(); - Map result = sprt01Service.makeFileFromHwpFormat("info", "rcvmtConfirm", printOption, crdnIds); + Map result = integrationSearchService.makeFileFromHwpFormat("info", "rcvmtConfirm", printOption, crdnIds); mav.addAllObjects(result); return mav; @@ -511,7 +511,7 @@ public class Sprt01Controller extends ApplicationController { public ModelAndView makeAdvntcePdf(PrintOption printOption, String[] crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); - Map result = sprt01Service.makePdfFile("info", "advntce", printOption, crdnIds); + Map result = integrationSearchService.makePdfFile("info", "advntce", printOption, crdnIds); mav.addAllObjects(result); return mav; @@ -524,7 +524,7 @@ public class Sprt01Controller extends ApplicationController { public ModelAndView makeAdvntceOutsourcing(PrintOption printOption, String[] crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); - Map result = sprt01Service.makeOutsourcingFile("advntce", printOption, crdnIds); + Map result = integrationSearchService.makeOutsourcingFile("advntce", printOption, crdnIds); mav.addAllObjects(result); return mav; @@ -549,7 +549,7 @@ public class Sprt01Controller extends ApplicationController { public ModelAndView makeNhtPdf(PrintOption printOption, String[] crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); - Map result = sprt01Service.makePdfFile("info", "nht", printOption, crdnIds); + Map result = integrationSearchService.makePdfFile("info", "nht", printOption, crdnIds); mav.addAllObjects(result); return mav; @@ -561,7 +561,7 @@ public class Sprt01Controller extends ApplicationController { public ModelAndView makeNhtOutsourcing(PrintOption printOption, String[] crdnIds) { ModelAndView mav = new ModelAndView("jsonView"); - Map result = sprt01Service.makeOutsourcingFile("nht", printOption, crdnIds); + Map result = integrationSearchService.makeOutsourcingFile("nht", printOption, crdnIds); mav.addAllObjects(result); return mav;