From dac47617b37ccfb834cd73ce0ee725e1101de214 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 14 八月 2025 17:25:51 +0800
Subject: [PATCH] 2025.8.14 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