From 84569abda51ecf6c5549dec4cadee8d043422379 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 30 九月 2025 09:33:28 +0800
Subject: [PATCH] 2025.9.30

---
 src/test/kotlin/com/flightfeather/grid/web/ClueTaskControllerTest.kt |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/grid/web/ClueTaskControllerTest.kt b/src/test/kotlin/com/flightfeather/grid/web/ClueTaskControllerTest.kt
index 2260010..255c6e2 100644
--- a/src/test/kotlin/com/flightfeather/grid/web/ClueTaskControllerTest.kt
+++ b/src/test/kotlin/com/flightfeather/grid/web/ClueTaskControllerTest.kt
@@ -1,6 +1,7 @@
 package com.flightfeather.grid.web
 
 import com.flightfeather.grid.domain.ds1.entity.ClueTask
+import com.flightfeather.grid.vo.ClueTaskOptions
 import org.junit.jupiter.api.Test
 
 import org.junit.jupiter.api.Assertions.*
@@ -10,6 +11,7 @@
 import org.springframework.boot.test.context.SpringBootTest
 import org.springframework.test.context.junit.jupiter.SpringExtension
 import org.springframework.test.context.junit4.SpringRunner
+import java.time.LocalDateTime
 
 @RunWith(SpringRunner::class)
 @ExtendWith(SpringExtension::class)
@@ -20,13 +22,23 @@
     lateinit var clueTaskController: ClueTaskController
 
     @Test
-    fun createClueTask() {
-        clueTaskController.createClueTask(ClueTask().apply {
-
+    fun searchClueTask() {
+        val res = clueTaskController.searchClueTask(1, 30, ClueTaskOptions().apply {
+            provinceCode = "31"
+            provinceName = "涓婃捣甯�"
+            cityCode = "3100"
+            cityName = "涓婃捣甯�"
+            startTime = LocalDateTime.of(2025, 4, 22, 14, 35, 0)
+            endTime = LocalDateTime.of(2025, 4, 24, 15, 10, 0)
+            internal
+            finished
         })
+        println(res.toString())
     }
 
     @Test
-    fun getClueTask() {
+    fun getClueTaskSummary() {
+        val res = clueTaskController.getClueTaskSummary(ClueTaskOptions())
+        println(res.toString())
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3