From 2302c9f0336f7ae4acae0583412ddc396645a0ed Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期一, 22 十二月 2025 17:22:31 +0800
Subject: [PATCH] 2025.12.22 巡查任务统计相关功能修改

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NightConstructionService.kt |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NightConstructionService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NightConstructionService.kt
index f1202cf..cff6a83 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NightConstructionService.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NightConstructionService.kt
@@ -2,15 +2,18 @@
 
 import cn.flightfeather.supervision.domain.ds1.entity.NightConstruction
 import cn.flightfeather.supervision.lightshare.vo.BaseResponse
+import cn.flightfeather.supervision.lightshare.vo.DataHead
 import cn.flightfeather.supervision.lightshare.vo.NightWorkSummary
 
 interface NightConstructionService {
 
-    fun getRecord(cityCode: String?, districtCode: String, page: Int, perPage: Int): BaseResponse<List<NightConstruction?>>
+    fun getRecord(cityCode: String?, districtCode: String, page: Int, perPage: Int): Pair<DataHead, List<NightConstruction?>>
 
-    fun getNightWorkFile(userId: String, isRead: Boolean?, page: Int, perPage: Int): BaseResponse<List<NightConstruction?>>
+    fun getNightWorkFile(userId: String, isRead: Boolean?, page: Int, perPage: Int): Pair<DataHead, List<NightConstruction?>>
 
-    fun signFile(userId: String, fileNum: String, id: Int): BaseResponse<Int>
+    fun signFile(userId: String, fileNum: String, id: Int): Int
 
-    fun getSummary(cityCode: String?, districtCode: String): BaseResponse<NightWorkSummary>
+    fun updateRecord(recordId: Int, userId: String?, sceneId: String?): NightConstruction
+
+    fun getSummary(cityCode: String?, districtCode: String): NightWorkSummary
 }
\ No newline at end of file

--
Gitblit v1.9.3