From 9558ad87cc950bd67306aa31e5f3b7de367258ae Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 20 一月 2026 17:29:23 +0800
Subject: [PATCH] 2026.1.20 1. 新增自巡查承诺功能接口
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/LedgerService.kt | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/LedgerService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/LedgerService.kt
index 2625971..438257e 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/LedgerService.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/LedgerService.kt
@@ -4,6 +4,7 @@
import cn.flightfeather.supervision.lightshare.vo.*
import org.springframework.http.client.MultipartBodyBuilder
import org.springframework.web.multipart.MultipartFile
+import java.io.File
import java.util.*
import javax.servlet.http.HttpServletResponse
import kotlin.collections.ArrayList
@@ -18,8 +19,21 @@
fun getLedgerDetail2(userId: String, ledgerSubTypeId: Int? = null, sceneType: Int, time: String?): List<LedgerVo>
+ /**
+ * 涓婁紶鍙拌处
+ */
+ fun uploadLedger(userId: String, ledgerVo: LedgerVo, files: List<Pair<ByteArray, String>>): Boolean
+
+ /**
+ * 涓婁紶鍙拌处
+ */
fun uploadLedger(userId: String, ledgerVoList: String, files: Array<MultipartFile>): Boolean
+ /**
+ * 涓婁紶涓嶆秹鍙婂彴璐�
+ */
+ fun uploadNoLedger(userId: String, time: String, remark: String?, ledgerIdList: List<Int>): BaseResponse<String>
+
fun getLedgerImg(userId: String, ledgerType: Int): List<String>
fun getLedgerImgs(userId: String, ledgerType: List<Int>): List<LedgerVo>
--
Gitblit v1.9.3