From b180708562d6fb872c83c05756e8041d9967483a Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期一, 22 十二月 2025 21:04:13 +0800
Subject: [PATCH] 2025.12.22 1. 修改日任务统计接口,新增当天内整改问题数和48小时内整改问题数统计
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/service/NightConstructionService.kt | 9 +++++----
1 files changed, 5 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 eaaadda..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,17 +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 updateRecord(recordId: Int, userId: String?, sceneId: String?): NightConstruction
- fun getSummary(cityCode: String?, districtCode: String): BaseResponse<NightWorkSummary>
+ fun getSummary(cityCode: String?, districtCode: String): NightWorkSummary
}
\ No newline at end of file
--
Gitblit v1.9.3