From 49ccd4817e27e05968d8d1d3f44d1ff403cd86c2 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 27 Jun 2024 16:48:41 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9E=84=EC=8B=9C=20=ED=95=9C=EC=BB=B4?= =?UTF-8?q?=ED=95=9C=EA=B8=80=ED=8C=8C=EC=9D=BC=20=EC=83=9D=EC=84=B1?= =?UTF-8?q?=EA=B2=BD=EB=A1=9C=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/adds/nims/web/AddsNimsController.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java index bf1eb98..b2d6773 100644 --- a/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java +++ b/src/main/java/cokr/xit/adds/nims/web/AddsNimsController.java @@ -45,6 +45,9 @@ public class AddsNimsController extends ApplicationController { @Value("${app.api.host:}") private String apiHost; + @Value("${app.file.root.path}") + private String fileRootPath; + @Resource(name="defaultOgdpBean") private DefaultOgdpBean defaultOgdpBean; @@ -94,11 +97,11 @@ public class AddsNimsController extends ApplicationController { .addObject("pageName", "dsuseMgtReceiptInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("apiHost", apiHost); } - + @RequestMapping(value = "/removeDsuseMgt.do", name="신청서 접수 목록 조회") public ModelAndView removeDsuseMgt(DsuseMgtReceiptQuery query) { boolean saved = false; - + String rtnMsg = dsuseMgtReceiptService.removeDsuseMgt(query); if(rtnMsg.contains("[S]")) { saved = true; @@ -165,7 +168,7 @@ public class AddsNimsController extends ApplicationController { ; } @RequestMapping(value = "/updatePrgsSttusOfDsuseMgt.do", name = "페기 보고 확인 등록") - public ModelAndView updatePrgsSttusOfDsuseMgt(DsuseMgtReceiptQuery qry) { + public ModelAndView updatePrgsSttusOfDsuseMgt(DsuseMgtReceiptQuery qry) { boolean saved = false; String rtnMsg = dsuseMgtReceiptService.updatePrgsSttusOfDsuseMgt(qry); if(rtnMsg.contains("[S]")) { @@ -201,6 +204,7 @@ public class AddsNimsController extends ApplicationController { //출력일시,출력작업자 Print print = new Print(); print.setPrintRequestUserInfo(currentUser()); + print.setTempPathConfig(fileRootPath); //개인정보표시여부,기관장 등 PrintOption printOption = new PrintOption(); @@ -252,6 +256,7 @@ public class AddsNimsController extends ApplicationController { //출력일시,출력작업자 Print print = new Print(); print.setPrintRequestUserInfo(currentUser()); + print.setTempPathConfig(fileRootPath); //개인정보표시여부,기관장 등 PrintOption printOption = new PrintOption();