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/mapper/SourceTraceMsgMapper.kt |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/domain/mapper/SourceTraceMsgMapper.kt b/src/main/kotlin/com/flightfeather/uav/domain/mapper/SourceTraceMsgMapper.kt
index 0916cf9..8a5968c 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/mapper/SourceTraceMsgMapper.kt
+++ b/src/main/kotlin/com/flightfeather/uav/domain/mapper/SourceTraceMsgMapper.kt
@@ -3,6 +3,14 @@
 import com.flightfeather.uav.domain.MyMapper
 import com.flightfeather.uav.domain.entity.SourceTraceMsg
 import org.apache.ibatis.annotations.Mapper
+import org.apache.ibatis.annotations.Select
 
 @Mapper
-interface SourceTraceMsgMapper : MyMapper<SourceTraceMsg?>
\ No newline at end of file
+interface SourceTraceMsgMapper : MyMapper<SourceTraceMsg?> {
+
+    /**
+     * 閲嶇疆鑷id
+     */
+    @Select("alter table source_trace_msg auto_increment = #{param1}")
+    fun resetAutoIncrement(id: Int)
+}
\ No newline at end of file

--
Gitblit v1.9.3