Merge branch 'tolag3'
This commit is contained in:
commit
07b20c3670
@ -74,5 +74,6 @@ public class PdfVO {
|
|||||||
@JsonIgnore private String fileName;
|
@JsonIgnore private String fileName;
|
||||||
@JsonIgnore private String fileExtension;
|
@JsonIgnore private String fileExtension;
|
||||||
@JsonIgnore private String rceptNo;
|
@JsonIgnore private String rceptNo;
|
||||||
|
@JsonIgnore private String codeName;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -197,11 +197,23 @@ public class PdfServiceImpl extends EgovAbstractServiceImpl implements PdfServic
|
|||||||
//pdf 포함파일 명들
|
//pdf 포함파일 명들
|
||||||
StringBuilder fileNames = new StringBuilder("표지");
|
StringBuilder fileNames = new StringBuilder("표지");
|
||||||
|
|
||||||
|
//codeName
|
||||||
|
|
||||||
|
|
||||||
processList.stream().forEach(t ->
|
processList.stream().forEach(t ->
|
||||||
{
|
{
|
||||||
|
|
||||||
|
PdfVO.Options optionsFileBefore = new PdfVO.Options();
|
||||||
|
optionsFileBefore.setMergeSrcUri(hostUri + "/gtm/case/pdfSubjectPop.do?caseNo=" + t.getCodeName());
|
||||||
|
PdfVO.Option optionFileBefore = new PdfVO.Option();
|
||||||
|
optionFileBefore.setLabel(t.getCodeName());
|
||||||
|
optionFileBefore.setHtmlUrlResource(true);
|
||||||
|
optionsFileBefore.getOption().add(optionFileBefore);
|
||||||
|
mergeTask.getOptions().add(optionsFileBefore);
|
||||||
|
|
||||||
|
|
||||||
PdfVO.Options options = new PdfVO.Options();
|
PdfVO.Options options = new PdfVO.Options();
|
||||||
if(t.getResultFilePath().startsWith("/usr/local/homepage/WEB-INF/views/site/case/upload/uploadFiles/case")) {
|
if(t.getResultFilePath().startsWith("/usr/local/homepage/WEB-INF/views/site/case/upload/uploadFiles/case")) {
|
||||||
;
|
|
||||||
options.setMergeSrcUri("file:/Z:" + t.getResultFilePath().substring("/usr/local/homepage/WEB-INF/views/site/case/upload/uploadFiles/case".length()));
|
options.setMergeSrcUri("file:/Z:" + t.getResultFilePath().substring("/usr/local/homepage/WEB-INF/views/site/case/upload/uploadFiles/case".length()));
|
||||||
}else {
|
}else {
|
||||||
options.setMergeSrcUri("file:/Z:" + pdfFilePath + t.getResultFilePath());
|
options.setMergeSrcUri("file:/Z:" + pdfFilePath + t.getResultFilePath());
|
||||||
|
|||||||
@ -13,9 +13,10 @@
|
|||||||
, BB.FILE_PATH || BB.FILE_ORGNAME AS resultFilePath
|
, BB.FILE_PATH || BB.FILE_ORGNAME AS resultFilePath
|
||||||
, BB.FILE_EXTENSION AS fileExtension
|
, BB.FILE_EXTENSION AS fileExtension
|
||||||
, CC.RCEPT_NO AS rceptNo
|
, CC.RCEPT_NO AS rceptNo
|
||||||
|
, E.CODE_NAME AS codeName
|
||||||
FROM
|
FROM
|
||||||
(
|
(
|
||||||
SELECT
|
<!-- SELECT
|
||||||
TO_CHAR(A.CFRNC_NO) AS CFRNC_NO
|
TO_CHAR(A.CFRNC_NO) AS CFRNC_NO
|
||||||
, A.CASE_NO
|
, A.CASE_NO
|
||||||
FROM
|
FROM
|
||||||
@ -35,7 +36,7 @@
|
|||||||
FROM
|
FROM
|
||||||
C_DLBRTMTR C
|
C_DLBRTMTR C
|
||||||
UNION
|
UNION
|
||||||
ALL
|
ALL -->
|
||||||
SELECT
|
SELECT
|
||||||
D.RCEPT_NO AS CFRNC_NO
|
D.RCEPT_NO AS CFRNC_NO
|
||||||
, D.CASE_NO
|
, D.CASE_NO
|
||||||
@ -46,6 +47,8 @@
|
|||||||
ON TO_CHAR(AA.CFRNC_NO) = BB.FILE_NO
|
ON TO_CHAR(AA.CFRNC_NO) = BB.FILE_NO
|
||||||
LEFT OUTER JOIN C_MASTER CC
|
LEFT OUTER JOIN C_MASTER CC
|
||||||
ON AA.CASE_NO = CC.CASE_NO
|
ON AA.CASE_NO = CC.CASE_NO
|
||||||
|
LEFT JOIN C_CODE E
|
||||||
|
ON BB.FILE_GUBUN = E.CODE_IDXS
|
||||||
WHERE
|
WHERE
|
||||||
BB.DEL_GUBUN = 'N'
|
BB.DEL_GUBUN = 'N'
|
||||||
AND AA.CASE_NO = #caseNo#
|
AND AA.CASE_NO = #caseNo#
|
||||||
|
|||||||
@ -45,7 +45,8 @@
|
|||||||
<input type="hidden" id="rceptNo" name="rceptNo" value="${pdfVO.rceptNo}"/>
|
<input type="hidden" id="rceptNo" name="rceptNo" value="${pdfVO.rceptNo}"/>
|
||||||
</form>
|
</form>
|
||||||
<div class="btn_wrap right">
|
<div class="btn_wrap right">
|
||||||
<button type="button" class="btn btn_text btn_45 darkblue_fill" onclick="docProcess();">문서요청</button>
|
<!-- <button type="button" class="btn btn_text btn_45 darkblue_fill" onclick="docProcess();">문서요청</button> -->
|
||||||
|
<button type="button" class="btn btn_text btn_45 darkblue_fill" onclick="docProcess();">업로드문서 통합</button>
|
||||||
<a href="#" onclick="location.reload();">
|
<a href="#" onclick="location.reload();">
|
||||||
<img alt="새로고침" src="/img/page_refresh_big.png">
|
<img alt="새로고침" src="/img/page_refresh_big.png">
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@ -1000,7 +1000,8 @@ function docOpen(){
|
|||||||
<button type="button" class="btn-default" onclick="smsAutoPopOpen('${caseNo}', '3');" style="margin-left: 5px; margin-bottom: 5px;">종료통지SMS</button>
|
<button type="button" class="btn-default" onclick="smsAutoPopOpen('${caseNo}', '3');" style="margin-left: 5px; margin-bottom: 5px;">종료통지SMS</button>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<button type="button" class="btn-default" onclick="docOpen();" >사건문서</button>
|
<!-- <button type="button" class="btn-default" onclick="docOpen();" >사건문서</button> -->
|
||||||
|
<button type="button" class="btn-default" onclick="docOpen();" >업로드문서 통합 / 문서요청</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user