From 5a003a42d2b34e8362910ac1d3e5a8866768e5fe Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期六, 20 十二月 2025 16:50:28 +0800
Subject: [PATCH] 2025.12.20 巡查任务统计相关功能修改
---
src/main/kotlin/cn/flightfeather/supervision/lightshare/web/SubtaskController.kt | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/SubtaskController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/SubtaskController.kt
index 21eda2a..84412d1 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/SubtaskController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/SubtaskController.kt
@@ -10,6 +10,7 @@
import cn.flightfeather.supervision.lightshare.vo.TaskVo
import io.swagger.annotations.Api
import io.swagger.annotations.ApiOperation
+import io.swagger.annotations.ApiParam
import org.springframework.format.annotation.DateTimeFormat
import org.springframework.web.bind.annotation.*
import java.time.LocalDateTime
@@ -91,11 +92,13 @@
) = subtaskService.findByDayTaskID(dayTaskId, userId, userType)
@IgnoreResponseAdvice
+ @ApiOperation("鏍规嵁鏃堕棿鍜屽満鏅痠d鑾峰彇宸℃煡浠诲姟")
@GetMapping("/byDate")
fun findByDate(
- @RequestParam("date") date: String,
- @RequestParam("userId") userId: String,
- ) = subtaskService.findByDate(date, userId)
+ @ApiParam(value = "鏃堕棿锛屽鏋滀笉浼狅紝鍒欓粯璁よ幏鍙栨渶鏂颁竴鏈�") @RequestParam("date", required = false) date: String?,
+ @RequestParam("userId", required = false) userId: String?,
+ @ApiParam(value = "鍦烘櫙id") @RequestParam(required = false) sceneId: String?,
+ ) = subtaskService.findByDate(date, userId, sceneId)
@IgnoreResponseAdvice
@GetMapping("/getSubTask")
--
Gitblit v1.9.3