통합조회 관련 자바 파일명 수정

main
이범준 11 months ago
parent 81b2fe4dd0
commit 926b7c28d4

@ -17,7 +17,7 @@ import cokr.xit.foundation.data.DataObject;
* ================================ * ================================
* </pre> * </pre>
*/ */
public interface Sprt01Service { public interface IntegrationSearchService {
/** . /** .
* @param query * @param query

@ -23,8 +23,8 @@ import cokr.xit.foundation.data.DataObject;
* ================================ * ================================
* </pre> * </pre>
*/ */
@Component("sprt01Bean") @Component("integrationSearchBean")
public class Sprt01Bean extends AbstractComponent { public class IntegrationSearchBean extends AbstractComponent {
/** 통합 조회 정보 DAO */ /** 통합 조회 정보 DAO */
@Resource(name = "integrationSearchMapper") @Resource(name = "integrationSearchMapper")

@ -56,7 +56,7 @@ import cokr.xit.fims.sprt.PrintOption;
import cokr.xit.fims.sprt.SprtQuery; import cokr.xit.fims.sprt.SprtQuery;
import cokr.xit.fims.sprt.dao.IntegrationSearchMapper; import cokr.xit.fims.sprt.dao.IntegrationSearchMapper;
import cokr.xit.fims.sprt.dao.OtptStngMapper; 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.UserInfo;
import cokr.xit.foundation.component.AbstractServiceBean; import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -75,12 +75,12 @@ import net.lingala.zip4j.ZipFile;
* ================================ * ================================
* </pre> * </pre>
*/ */
@Service("sprt01Service") @Service("integrationSearchService")
public class Sprt01ServiceBean extends AbstractServiceBean implements Sprt01Service { public class IntegrationSearchServiceBean extends AbstractServiceBean implements IntegrationSearchService {
/** 업무지원 Bean */ /** 업무지원 Bean */
@Resource(name="sprt01Bean") @Resource(name="integrationSearchBean")
protected Sprt01Bean sprt01Bean; protected IntegrationSearchBean integrationSearchBean;
@Resource(name="factionBean") @Resource(name="factionBean")
protected FactionBean factionBean; protected FactionBean factionBean;
@ -105,13 +105,13 @@ public class Sprt01ServiceBean extends AbstractServiceBean implements Sprt01Serv
@Override @Override
public List<DataObject> getIntegrationDataList(SprtQuery query) { public List<DataObject> getIntegrationDataList(SprtQuery query) {
return sprt01Bean.getIntegrationDataList(query); return integrationSearchBean.getIntegrationDataList(query);
} }
@Override @Override
public boolean updateEtcCn(String etcCn, String... crdnIds) { public boolean updateEtcCn(String etcCn, String... crdnIds) {
return sprt01Bean.updateEtcCn(etcCn, crdnIds); return integrationSearchBean.updateEtcCn(etcCn, crdnIds);
} }

@ -35,7 +35,7 @@ import cokr.xit.fims.sprt.OtptForm;
import cokr.xit.fims.sprt.OtptStngQuery; import cokr.xit.fims.sprt.OtptStngQuery;
import cokr.xit.fims.sprt.PrintOption; import cokr.xit.fims.sprt.PrintOption;
import cokr.xit.fims.sprt.SprtQuery; 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.sprt.service.bean.OtptStngBean;
import cokr.xit.fims.stat.dao.StatMapper; import cokr.xit.fims.stat.dao.StatMapper;
import cokr.xit.foundation.data.DataObject; import cokr.xit.foundation.data.DataObject;
@ -83,8 +83,8 @@ public class Sprt01Controller extends ApplicationController {
} }
/**통합 조회 서비스*/ /**통합 조회 서비스*/
@Resource(name="sprt01Service") @Resource(name="integrationSearchService")
private Sprt01Service sprt01Service; private IntegrationSearchService integrationSearchService;
@Resource(name="globalStngMapper") @Resource(name="globalStngMapper")
protected GlobalStngMapper globalStngMapper; protected GlobalStngMapper globalStngMapper;
@ -159,7 +159,7 @@ public class Sprt01Controller extends ApplicationController {
} }
/** .<br /> /** .<br />
* {@link Sprt01Service#getIntegrationDataList(SprtQuery)} * {@link IntegrationSearchService#getIntegrationDataList(SprtQuery)}
* @param query * @param query
* @return jsonView * @return jsonView
*/ */
@ -168,7 +168,7 @@ public class Sprt01Controller extends ApplicationController {
this.makeIntegrationSearchQuery(query, req); this.makeIntegrationSearchQuery(query, req);
List<DataObject> list = sprt01Service.getIntegrationDataList(query); List<DataObject> list = integrationSearchService.getIntegrationDataList(query);
List<DataObject> upList = list.stream().filter(item -> item.string("RCVMT_ETC_YN").equals("N")).toList(); List<DataObject> upList = list.stream().filter(item -> item.string("RCVMT_ETC_YN").equals("N")).toList();
List<DataObject> downList = list.stream().filter(item -> item.string("RCVMT_ETC_YN").equals("Y")).toList(); List<DataObject> 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; boolean saved = false;
saved = sprt01Service.updateEtcCn(crdn.getEtcCn(), crdnIds); saved = integrationSearchService.updateEtcCn(crdn.getEtcCn(), crdnIds);
mav.addObject("saved", saved); mav.addObject("saved", saved);
@ -422,7 +422,7 @@ public class Sprt01Controller extends ApplicationController {
PrintOption printOption = new PrintOption(); PrintOption printOption = new PrintOption();
printOption.setPrivateInfoYn(privateInfoYn); printOption.setPrivateInfoYn(privateInfoYn);
result = sprt01Service.makeFileFromHwpFormat("list", "crdnList", printOption ,crdnIds); result = integrationSearchService.makeFileFromHwpFormat("list", "crdnList", printOption ,crdnIds);
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
mav.addAllObjects(result); mav.addAllObjects(result);
@ -437,7 +437,7 @@ public class Sprt01Controller extends ApplicationController {
PrintOption printOption = new PrintOption(); PrintOption printOption = new PrintOption();
result = sprt01Service.makeFileFromHwpFormat("info", "crdnConfirm", printOption, crdnIds); result = integrationSearchService.makeFileFromHwpFormat("info", "crdnConfirm", printOption, crdnIds);
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
mav.addAllObjects(result); mav.addAllObjects(result);
@ -462,7 +462,7 @@ public class Sprt01Controller extends ApplicationController {
public ModelAndView makeRequestForDeliveryFileFromHwpFormat(PrintOption printOption, String[] crdnIds) { public ModelAndView makeRequestForDeliveryFileFromHwpFormat(PrintOption printOption, String[] crdnIds) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
Map<String,String> result = sprt01Service.makeFileFromHwpFormat("list", "requestForDelivery", printOption, crdnIds); Map<String,String> result = integrationSearchService.makeFileFromHwpFormat("list", "requestForDelivery", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;
} }
@ -473,7 +473,7 @@ public class Sprt01Controller extends ApplicationController {
public ModelAndView makeReportOnClaimsFileFromHwpFormat(PrintOption printOption, String[] crdnIds) { public ModelAndView makeReportOnClaimsFileFromHwpFormat(PrintOption printOption, String[] crdnIds) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
Map<String,String> result = sprt01Service.makeFileFromHwpFormat("list", "reportOnClaims", printOption, crdnIds); Map<String,String> result = integrationSearchService.makeFileFromHwpFormat("list", "reportOnClaims", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;
@ -487,7 +487,7 @@ public class Sprt01Controller extends ApplicationController {
PrintOption printOption = new PrintOption(); PrintOption printOption = new PrintOption();
Map<String,String> result = sprt01Service.makeFileFromHwpFormat("info", "rcvmtConfirm", printOption, crdnIds); Map<String,String> result = integrationSearchService.makeFileFromHwpFormat("info", "rcvmtConfirm", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;
@ -511,7 +511,7 @@ public class Sprt01Controller extends ApplicationController {
public ModelAndView makeAdvntcePdf(PrintOption printOption, String[] crdnIds) { public ModelAndView makeAdvntcePdf(PrintOption printOption, String[] crdnIds) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
Map<String,String> result = sprt01Service.makePdfFile("info", "advntce", printOption, crdnIds); Map<String,String> result = integrationSearchService.makePdfFile("info", "advntce", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;
@ -524,7 +524,7 @@ public class Sprt01Controller extends ApplicationController {
public ModelAndView makeAdvntceOutsourcing(PrintOption printOption, String[] crdnIds) { public ModelAndView makeAdvntceOutsourcing(PrintOption printOption, String[] crdnIds) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
Map<String,String> result = sprt01Service.makeOutsourcingFile("advntce", printOption, crdnIds); Map<String,String> result = integrationSearchService.makeOutsourcingFile("advntce", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;
@ -549,7 +549,7 @@ public class Sprt01Controller extends ApplicationController {
public ModelAndView makeNhtPdf(PrintOption printOption, String[] crdnIds) { public ModelAndView makeNhtPdf(PrintOption printOption, String[] crdnIds) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
Map<String,String> result = sprt01Service.makePdfFile("info", "nht", printOption, crdnIds); Map<String,String> result = integrationSearchService.makePdfFile("info", "nht", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;
@ -561,7 +561,7 @@ public class Sprt01Controller extends ApplicationController {
public ModelAndView makeNhtOutsourcing(PrintOption printOption, String[] crdnIds) { public ModelAndView makeNhtOutsourcing(PrintOption printOption, String[] crdnIds) {
ModelAndView mav = new ModelAndView("jsonView"); ModelAndView mav = new ModelAndView("jsonView");
Map<String,String> result = sprt01Service.makeOutsourcingFile("nht", printOption, crdnIds); Map<String,String> result = integrationSearchService.makeOutsourcingFile("nht", printOption, crdnIds);
mav.addAllObjects(result); mav.addAllObjects(result);
return mav; return mav;

Loading…
Cancel
Save