fix: 임시 한컴한글파일 생성경로 설정 추가

dev
이범준 5 months ago
parent 933e8dfd43
commit 49ccd4817e

@ -45,6 +45,9 @@ public class AddsNimsController extends ApplicationController {
@Value("${app.api.host:}") @Value("${app.api.host:}")
private String apiHost; private String apiHost;
@Value("${app.file.root.path}")
private String fileRootPath;
@Resource(name="defaultOgdpBean") @Resource(name="defaultOgdpBean")
private DefaultOgdpBean defaultOgdpBean; private DefaultOgdpBean defaultOgdpBean;
@ -94,11 +97,11 @@ public class AddsNimsController extends ApplicationController {
.addObject("pageName", "dsuseMgtReceiptInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix .addObject("pageName", "dsuseMgtReceiptInfo") // View(jsp)에서 사용할 id 뒤에 붙일 suffix
.addObject("apiHost", apiHost); .addObject("apiHost", apiHost);
} }
@RequestMapping(value = "/removeDsuseMgt.do", name="신청서 접수 목록 조회") @RequestMapping(value = "/removeDsuseMgt.do", name="신청서 접수 목록 조회")
public ModelAndView removeDsuseMgt(DsuseMgtReceiptQuery query) { public ModelAndView removeDsuseMgt(DsuseMgtReceiptQuery query) {
boolean saved = false; boolean saved = false;
String rtnMsg = dsuseMgtReceiptService.removeDsuseMgt(query); String rtnMsg = dsuseMgtReceiptService.removeDsuseMgt(query);
if(rtnMsg.contains("[S]")) { if(rtnMsg.contains("[S]")) {
saved = true; saved = true;
@ -165,7 +168,7 @@ public class AddsNimsController extends ApplicationController {
; ;
} }
@RequestMapping(value = "/updatePrgsSttusOfDsuseMgt.do", name = "페기 보고 확인 등록") @RequestMapping(value = "/updatePrgsSttusOfDsuseMgt.do", name = "페기 보고 확인 등록")
public ModelAndView updatePrgsSttusOfDsuseMgt(DsuseMgtReceiptQuery qry) { public ModelAndView updatePrgsSttusOfDsuseMgt(DsuseMgtReceiptQuery qry) {
boolean saved = false; boolean saved = false;
String rtnMsg = dsuseMgtReceiptService.updatePrgsSttusOfDsuseMgt(qry); String rtnMsg = dsuseMgtReceiptService.updatePrgsSttusOfDsuseMgt(qry);
if(rtnMsg.contains("[S]")) { if(rtnMsg.contains("[S]")) {
@ -201,6 +204,7 @@ public class AddsNimsController extends ApplicationController {
//출력일시,출력작업자 //출력일시,출력작업자
Print print = new Print(); Print print = new Print();
print.setPrintRequestUserInfo(currentUser()); print.setPrintRequestUserInfo(currentUser());
print.setTempPathConfig(fileRootPath);
//개인정보표시여부,기관장 등 //개인정보표시여부,기관장 등
PrintOption printOption = new PrintOption(); PrintOption printOption = new PrintOption();
@ -252,6 +256,7 @@ public class AddsNimsController extends ApplicationController {
//출력일시,출력작업자 //출력일시,출력작업자
Print print = new Print(); Print print = new Print();
print.setPrintRequestUserInfo(currentUser()); print.setPrintRequestUserInfo(currentUser());
print.setTempPathConfig(fileRootPath);
//개인정보표시여부,기관장 등 //개인정보표시여부,기관장 등
PrintOption printOption = new PrintOption(); PrintOption printOption = new PrintOption();

Loading…
Cancel
Save