From 03e8aca3ad6201c0d74e00d4c8d7367cdaaa54f9 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期五, 01 十一月 2024 11:49:51 +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