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/entity/SourceTraceMsg.java |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/SourceTraceMsg.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/SourceTraceMsg.java
index 1d364c5..2f48641 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/entity/SourceTraceMsg.java
+++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/SourceTraceMsg.java
@@ -6,6 +6,7 @@
 @Table(name = "source_trace_msg")
 public class SourceTraceMsg {
     @Id
+    @GeneratedValue(strategy = GenerationType.IDENTITY)
     private Integer id;
 
     @Column(name = "device_code")
@@ -28,8 +29,6 @@
 
     @Column(name = "create_time")
     private Date createTime;
-
-    private String content;
 
     /**
      * @return id
@@ -141,19 +140,5 @@
      */
     public void setCreateTime(Date createTime) {
         this.createTime = createTime;
-    }
-
-    /**
-     * @return content
-     */
-    public String getContent() {
-        return content;
-    }
-
-    /**
-     * @param content
-     */
-    public void setContent(String content) {
-        this.content = content == null ? null : content.trim();
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3