From 99be60a4c8c1f39eb01d414460cbe0ac76ca97d3 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 21 七月 2022 17:47:40 +0800
Subject: [PATCH] 1. 巡查汇总报告功能添加整改跟踪提醒统计列; 2. 新增获取巡查任务统计信息接口;

---
 src/test/kotlin/cn/flightfeather/supervision/lightshare/service/impl/SearchServiceImplTest.kt |   20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/src/test/kotlin/cn/flightfeather/supervision/lightshare/service/impl/SearchServiceImplTest.kt b/src/test/kotlin/cn/flightfeather/supervision/lightshare/service/impl/SearchServiceImplTest.kt
index 4c910ba..96dd876 100644
--- a/src/test/kotlin/cn/flightfeather/supervision/lightshare/service/impl/SearchServiceImplTest.kt
+++ b/src/test/kotlin/cn/flightfeather/supervision/lightshare/service/impl/SearchServiceImplTest.kt
@@ -4,17 +4,21 @@
 import cn.flightfeather.supervision.lightshare.service.SearchService
 import cn.flightfeather.supervision.lightshare.vo.ExcelConfigVo
 import org.junit.Test
+import org.junit.jupiter.api.extension.ExtendWith
 
 import org.junit.runner.RunWith
 import org.springframework.beans.factory.annotation.Autowired
 import org.springframework.boot.test.context.SpringBootTest
+import org.springframework.test.context.junit.jupiter.SpringExtension
 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner
+import org.springframework.test.context.junit4.SpringRunner
 import java.time.LocalDateTime
 import java.time.ZoneId
 import java.util.*
 
-@RunWith(SpringJUnit4ClassRunner::class)
-@SpringBootTest(classes = [SupervisionApplication::class])
+@RunWith(SpringRunner::class)
+@ExtendWith(SpringExtension::class)
+@SpringBootTest
 class SearchServiceImplTest {
 
     @Autowired
@@ -26,9 +30,15 @@
         val localTimeE = LocalDateTime.of(2021, 3, 31, 23, 59, 59)
         val sD = Date.from(localTimeS.atZone(ZoneId.systemDefault()).toInstant())
         val eD = Date.from(localTimeE.atZone(ZoneId.systemDefault()).toInstant())
+
+        val mode = 10
+        //閲戝北2022骞�6鏈�
         searchService.writeToFile(ExcelConfigVo(
-                "EPnTo3hoOWZXAU33",
-                sD, eD, "31", "3100", "310104", null, 5, null, null, null
-        ))
+            "8QN1VzftuhBJmrF8",
+            districtCode = "310106",
+//            townCode = "310116113",
+            sceneType = 1), mode)
+        //閲戝北2021骞�3鏈�
+//        searchService.writeToFile(ExcelConfigVo("o7jdSzr79fe0NH3I", districtCode = "310116", sceneType = 1))
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3