From eb3dd00b0b7fcda477229d518d250f9c842b790b Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 21 十月 2025 17:45:44 +0800
Subject: [PATCH] 2025.10.21 1. 走航季度报告相关数据计算逻辑调整

---
 src/main/kotlin/com/flightfeather/uav/biz/dataprocess/RoadSegment.kt |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/biz/dataprocess/RoadSegment.kt b/src/main/kotlin/com/flightfeather/uav/biz/dataprocess/RoadSegment.kt
index 1b099a3..8e21070 100644
--- a/src/main/kotlin/com/flightfeather/uav/biz/dataprocess/RoadSegment.kt
+++ b/src/main/kotlin/com/flightfeather/uav/biz/dataprocess/RoadSegment.kt
@@ -50,6 +50,7 @@
         // 閫氳繃楂樺痉API鏌ヨ鍧愭爣瀵瑰簲鐨勮矾娈�
         val segmentInfoList = mutableListOf<SegmentInfo>()
         gdGPS.forEachIndexed { i, pair ->
+            Thread.sleep(400)
             val address = AMapService.reGeo(pair)
             segmentInfoList.add(SegmentInfo().apply {
                 missionCode = mission.missionCode
@@ -62,7 +63,7 @@
                 districtName = address.district
                 townCode = address.towncode
                 towmName = address.township
-                street = address.street
+                street = address.address
             })
         }
         // 缁撴灉鍏ュ簱
@@ -96,7 +97,7 @@
     private fun saveResult(segmentInfoList:List<SegmentInfo>) {
         val res = mutableListOf<SegmentInfo>()
         segmentInfoList.forEach { s ->
-            // 鍒ゆ柇褰撳墠璁板綍鍜屼笂涓褰曟槸鍚︽暟鎹悓涓�鏉¢亾璺�
+            // 鍒ゆ柇褰撳墠璁板綍鍜屼笂涓褰曟槸鍚﹀睘浜庡悓涓�鏉¢亾璺�
             if (res.isNotEmpty()) {
                 val lastOne = res.last()
                 // 鑻ュ睘浜庡悓涓�閬撹矾锛屽悎骞�

--
Gitblit v1.9.3