From 23bd719cebe5feeff4e48fde925b0b39755eea93 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期二, 15 十一月 2022 10:59:50 +0800 Subject: [PATCH] 2022.11.15 --- src/main/kotlin/cn/flightfeather/supervision/common/pdf/GeneratePdfUtil.kt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/common/pdf/GeneratePdfUtil.kt b/src/main/kotlin/cn/flightfeather/supervision/common/pdf/GeneratePdfUtil.kt index c0ddec2..4970b29 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/common/pdf/GeneratePdfUtil.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/common/pdf/GeneratePdfUtil.kt @@ -26,13 +26,13 @@ @Throws(Exception::class) fun generateContract(param: DynamicParam): List<String> { - // 鐢熸垚html鍚堝悓 + // 鐢熸垚html generateHTML(param.templatePath, param.templateName, param.param) - // 鏍规嵁html鍚堝悓鐢熸垚pdf鍚堝悓 + // 鏍规嵁html鐢熸垚pdf generatePDF(param.outPath + param.outName) // 鏍规嵁pdf鐢熸垚鍥剧墖 val picPaths = generatePic(param.outPath + param.outName) - // 鍒犻櫎涓存椂html鏍煎紡鍚堝悓 + // 鍒犻櫎涓存椂html removeFile(TEMPORARY_CONTRACT_HTML) return picPaths } -- Gitblit v1.9.3