From 8c6e742562d0c8647e0ee8deff01a3eb176d677b Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 02 九月 2025 17:30:47 +0800
Subject: [PATCH] 2025.9.2 1. 新增走航任务统计功能(待完成)

---
 src/main/kotlin/com/flightfeather/uav/domain/repository/SceneInfoRep.kt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/domain/repository/SceneInfoRep.kt b/src/main/kotlin/com/flightfeather/uav/domain/repository/SceneInfoRep.kt
index e38cd28..e0e9729 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/repository/SceneInfoRep.kt
+++ b/src/main/kotlin/com/flightfeather/uav/domain/repository/SceneInfoRep.kt
@@ -41,4 +41,13 @@
                 .andLessThanOrEqualTo("latitude", range[3])
         })
     }
+
+    fun findBySceneTypes(sceneTypes: List<Int>): List<SceneInfo?> {
+        if (sceneTypes.isEmpty()){
+            return emptyList()
+        }
+        return sceneInfoMapper.selectByExample(Example(SceneInfo::class.java).apply {
+            createCriteria().andIn("typeId", sceneTypes)
+        })
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3