|
|
|
@ -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 {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**지정한 조건에 따라 통합 조회 자료 목록을 반환한다.<br />
|
|
|
|
|
* {@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<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> 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<String,String> result = sprt01Service.makeFileFromHwpFormat("list", "requestForDelivery", printOption, crdnIds);
|
|
|
|
|
Map<String,String> 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<String,String> result = sprt01Service.makeFileFromHwpFormat("list", "reportOnClaims", printOption, crdnIds);
|
|
|
|
|
Map<String,String> 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<String,String> result = sprt01Service.makeFileFromHwpFormat("info", "rcvmtConfirm", printOption, crdnIds);
|
|
|
|
|
Map<String,String> 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<String,String> result = sprt01Service.makePdfFile("info", "advntce", printOption, crdnIds);
|
|
|
|
|
Map<String,String> 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<String,String> result = sprt01Service.makeOutsourcingFile("advntce", printOption, crdnIds);
|
|
|
|
|
Map<String,String> 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<String,String> result = sprt01Service.makePdfFile("info", "nht", printOption, crdnIds);
|
|
|
|
|
Map<String,String> 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<String,String> result = sprt01Service.makeOutsourcingFile("nht", printOption, crdnIds);
|
|
|
|
|
Map<String,String> result = integrationSearchService.makeOutsourcingFile("nht", printOption, crdnIds);
|
|
|
|
|
mav.addAllObjects(result);
|
|
|
|
|
|
|
|
|
|
return mav;
|
|
|
|
|