pdf 뷰어

This commit is contained in:
leejunho 2023-07-31 14:49:23 +09:00
parent 611c723f87
commit 7c9c593101
2 changed files with 2 additions and 2 deletions

View File

@ -5054,7 +5054,7 @@ public class MjonMsgController {
path = "/cmm/fms/FileDown.do?atchFileId="+ fvo.getAtchFileId() + "&fileSn=" + fvo.getFileSn(); path = "/cmm/fms/FileDown.do?atchFileId="+ fvo.getAtchFileId() + "&fileSn=" + fvo.getFileSn();
}else { }else {
String storePath = fvo.getFileStreCours() + fvo.getStreFileNm(); String storePath = fvo.getFileStreCours() + fvo.getStreFileNm();
path = PdfUtil.makeImgPdf(storePath, fvo.getFileExtsn()); path = "/cmm/fms/FileDowntest.do?fileNm="+ PdfUtil.makeImgPdf(storePath, fvo.getFileExtsn());
} }
} }

View File

@ -50,7 +50,7 @@
var ctx = canvas.getContext('2d'); var ctx = canvas.getContext('2d');
/* var url = '/cmm/fms/FileDown.do?atchFileId=FILE_000000000019061&fileSn=0'; */ /* var url = '/cmm/fms/FileDown.do?atchFileId=FILE_000000000019061&fileSn=0'; */
// var url = '/usr/local/tomcat/file/sht/pdf/2ccbb16e-62df-48c0-bbb1-3b6559bd4c36.pdf'; // var url = '/usr/local/tomcat/file/sht/pdf/2ccbb16e-62df-48c0-bbb1-3b6559bd4c36.pdf';
var url = '/cmm/fms/FileDowntest.do?fileNm=${pdfPath}'; var url = '${pdfPath}';
/** /**
* Get page info from document, resize canvas accordingly, and render page. * Get page info from document, resize canvas accordingly, and render page.