From 698f8f0f22af4c66581ce284407e986ca036aec6 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 23 一月 2025 17:10:26 +0800
Subject: [PATCH] 1. 网格细分逻辑(编写中)

---
 src/main/kotlin/com/flightfeather/uav/lightshare/service/impl/SatelliteDataCalculateServiceImpl.kt |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/service/impl/SatelliteDataCalculateServiceImpl.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/service/impl/SatelliteDataCalculateServiceImpl.kt
index 9fcf324..1d0acf1 100644
--- a/src/main/kotlin/com/flightfeather/uav/lightshare/service/impl/SatelliteDataCalculateServiceImpl.kt
+++ b/src/main/kotlin/com/flightfeather/uav/lightshare/service/impl/SatelliteDataCalculateServiceImpl.kt
@@ -3,12 +3,13 @@
 import com.flightfeather.uav.biz.satellite.SatelliteGridManage
 import com.flightfeather.uav.common.exception.BizException
 import com.flightfeather.uav.domain.entity.GridCell
+import com.flightfeather.uav.domain.entity.GridGroup
 import com.flightfeather.uav.domain.repository.SatelliteGridRep
 import com.flightfeather.uav.lightshare.service.SatelliteDataCalculateService
 import org.springframework.stereotype.Service
 
 /**
- *
+ * 鍗槦缃戞牸鍧愭爣鍙婄洃娴嬫暟鎹簩娆¤绠�
  * @date 2025/1/15
  * @author feiyu02
  */
@@ -45,7 +46,14 @@
         return cellList
     }
 
-    override fun splitGrid(groupId: Int): List<GridCell?> {
-        TODO("Not yet implemented")
+    override fun splitGrid(groupId: Int, scale: Int): List<GridCell?> {
+        // 妫�鏌ヨ缃戞牸涓嬭绉嶇被鐨勭粏鍒嗙綉鏍兼槸鍚﹀瓨鍦紝鑻ヤ笉瀛樺湪锛屽垯鏂板缓
+        satelliteGridRep.fetchGridGroup(groupId)
+        // 鑾峰彇鍏蜂綋缃戞牸淇℃伅
+        val cellList = satelliteGridRep.fetchGridCell(groupId)
+        // 鎸夌収缁欏畾鐨勬媶鍒嗙郴鏁拌繘琛屾媶鍒�
+//        val subCellList = SatelliteGridManage.splitGrid(cellList, scale)
+
+        return emptyList()
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3