From 6fdacca914ef38e6cc91292ef07c5af32bd92991 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 03 十二月 2024 11:12:40 +0800
Subject: [PATCH] 1. BgTask增加onStatusChange参数,通过外界传递如何发送状态改变的消息 2. BackgroundTaskCtrl.kt 创建了BgTask对象并传递了onStatusChange参数 3. WebSocketMessageUtil 类名修改为 WebSocketMessageDecoder 4. SendWebSocketMessageUtil 类名修改为 WebSocketSendMessageUtil

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TableController.kt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TableController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TableController.kt
index f29168f..a70f927 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TableController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/TableController.kt
@@ -48,7 +48,7 @@
     fun testdate() {
         val wordMLPackage = WordprocessingMLPackage.createPackage()
         wordMLPackage.mainDocumentPart.addAltChunk(AltChunkType.Html, t.block()!!.toString().toByteArray())
-        val time = DateUtil().getTime(Date()).toString()
+        val time = DateUtil.getTime(Date()).toString()
         val outputfilepath = File("/Users/liwei/resource/supervision/src/main/resources/public/htmltable.docx")
         wordMLPackage.save(outputfilepath)
         //Thread.sleep(1000)
@@ -68,7 +68,7 @@
 
         val paragraphOfText = wordMLPackage.mainDocumentPart.createParagraphOfText("Field 1")
         addTableCell(tr, paragraphOfText)
-        val time = DateUtil().getTime(Date())
+        val time = DateUtil.getTime(Date())
         val file = File("/Users/liwei/resource/supervision/src/main/resources/static/images/tutu.png")
         val paragraphWithImage = addInlineImageToParagraph(createInlineImage(file))
         addTableCell(tr, paragraphWithImage)

--
Gitblit v1.9.3