From ae04c5d925b0094e1a1ba1f2ce0bf6da0a6fee04 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 22 一月 2026 17:27:55 +0800
Subject: [PATCH] 2026.1.22 1. 新增台账上传office文档功能; 2. 新增office文档存储原始文档名字功能
---
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