From 85b2001c0ec2f1adc598db3bf47ad457dcca7074 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期四, 19 十二月 2024 16:37:53 +0800
Subject: [PATCH] item-chart 空point校验

---
 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