|
@ -2043,6 +2043,13 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
String pdfName = "收款单_" + dateStr + seconds + ".pdf"; |
|
|
String pdfName = "收款单_" + dateStr + seconds + ".pdf"; |
|
|
WordUtils.doc2pdf(wordPath, targetPath, pdfName, ""); |
|
|
WordUtils.doc2pdf(wordPath, targetPath, pdfName, ""); |
|
|
pdfPath.setPdfPath("/template/" + dateStr + "/" + pdfName); |
|
|
pdfPath.setPdfPath("/template/" + dateStr + "/" + pdfName); |
|
|
|
|
|
String downNum = finCollectionConfirmationDetailsVo.getDownNum(); |
|
|
|
|
|
if (StringUtils.isBlank(downNum)){ |
|
|
|
|
|
downNum = "1"; |
|
|
|
|
|
}else { |
|
|
|
|
|
downNum = String.valueOf((Integer.parseInt(downNum) + 1)); |
|
|
|
|
|
} |
|
|
|
|
|
baseMapper.updateDown(skdSid,downNum); |
|
|
return rb.success().setData(pdfPath); |
|
|
return rb.success().setData(pdfPath); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|