diff --git a/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java b/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java index fc1af01e..8b900fb4 100644 --- a/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java +++ b/src/main/java/cokr/xit/fims/sndb/web/Sndb01Controller.java @@ -1599,7 +1599,7 @@ public class Sndb01Controller extends ApplicationController { * @return 사전통지서 PDF파일 */ public ModelAndView makeAdvntcePdf(PrintOption printOption, String sndngId) { - ModelAndView mav = new ModelAndView("jsonView"); + ModelAndView mav = new ModelAndView("downloadView"); List list = sndngDtlService.getSndngTrgtCrdnIds(sndngId); @@ -1609,7 +1609,7 @@ public class Sndb01Controller extends ApplicationController { crdnIds[iLoop] = list.get(iLoop).string("CRDN_ID"); } - Map result = integrationSearchService.makePdfFile("info", "advntce", printOption, crdnIds); + Map result = integrationSearchService.makePdfFile("info", "advntce", printOption, crdnIds); mav.addAllObjects(result); @@ -1620,7 +1620,7 @@ public class Sndb01Controller extends ApplicationController { * @return 사전통지서 압축파일 */ public ModelAndView makeAdvntceOutsourcing(PrintOption printOption, String sndngId) { - ModelAndView mav = new ModelAndView("jsonView"); + ModelAndView mav = new ModelAndView("downloadView"); List list = sndngDtlService.getSndngTrgtCrdnIds(sndngId); @@ -1630,7 +1630,7 @@ public class Sndb01Controller extends ApplicationController { crdnIds[iLoop] = list.get(iLoop).string("CRDN_ID"); } - Map result = integrationSearchService.makeOutsourcingFile("advntce", printOption, crdnIds); + Map result = integrationSearchService.makeOutsourcingFile("advntce", printOption, crdnIds); mav.addAllObjects(result);