From e0cd01dcdab0fcaf49900d3e391390b0221a6e52 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Thu, 15 Feb 2024 17:38:31 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=98=EC=86=A1=20=EC=BB=A8=ED=8A=B8?= =?UTF-8?q?=EB=A1=A4=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cokr/xit/fims/sndb/web/Sndb01Controller.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);