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();