From 849c3bfad21a3821f303413f82cda2d8d4d27733 Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期二, 05 十一月 2024 18:41:31 +0800
Subject: [PATCH] tag查当前值

---
 iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/entity/IndItemEntity.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/entity/IndItemEntity.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/entity/IndItemEntity.java
index 8b1580f..812ef07 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/entity/IndItemEntity.java
+++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/ind/item/entity/IndItemEntity.java
@@ -1,9 +1,6 @@
 package com.iailab.module.data.ind.item.entity;
 
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
 import lombok.Data;
 
 import java.io.Serializable;
@@ -55,17 +52,19 @@
     /**
      * 指标精度
      */
-    @TableField("`precision`")
+    @TableField(value = "`precision`", updateStrategy = FieldStrategy.ALWAYS)
     private Integer precision;
 
     /**
      * 时间粒度
      */
+    @TableField(updateStrategy = FieldStrategy.ALWAYS)
     private String timeGranularity;
 
     /**
      * 数量单位
      */
+    @TableField(updateStrategy = FieldStrategy.ALWAYS)
     private String unit;
 
     /**

--
Gitblit v1.9.3