From 50b33400882f63c724b8ae3f57430ce3a0fdbe13 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Tue, 4 Jul 2023 14:37:39 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E5=B7=A1=E6=A3=80=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E4=BF=AE=E6=94=B9=E3=80=81=E5=B7=A1=E6=A3=80?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=AE=9E=E4=BD=93=E7=B1=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hnac/hzinfo/inspect/obj/entity/ContentDefinitionEntity.java | 2 ++ hzims-service/inspect/src/main/resources/db/1.0.1.sql | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/obj/entity/ContentDefinitionEntity.java b/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/obj/entity/ContentDefinitionEntity.java index eb2e9d9..aada419 100644 --- a/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/obj/entity/ContentDefinitionEntity.java +++ b/hzims-service-api/inspect-api/src/main/java/com/hnac/hzinfo/inspect/obj/entity/ContentDefinitionEntity.java @@ -1,5 +1,6 @@ package com.hnac.hzinfo.inspect.obj.entity; +import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.NullSerializer; import io.swagger.annotations.ApiModelProperty; @@ -21,6 +22,7 @@ import java.io.Serializable; **/ @Data @EqualsAndHashCode +@TableName("hz_st_re_content_definition") public class ContentDefinitionEntity extends TenantEntity implements Serializable { @ApiModelProperty(value = "内容编码") diff --git a/hzims-service/inspect/src/main/resources/db/1.0.1.sql b/hzims-service/inspect/src/main/resources/db/1.0.1.sql index 729823c..d534287 100644 --- a/hzims-service/inspect/src/main/resources/db/1.0.1.sql +++ b/hzims-service/inspect/src/main/resources/db/1.0.1.sql @@ -33,11 +33,11 @@ CREATE TABLE IF NOT EXISTS `hz_st_re_content_definition` ( SET FOREIGN_KEY_CHECKS = 1; -- 巡检内容定义添加物模型标识字段 -alter table hz_st_re_content add COLUMN `model_signage` VARCHAR(64) comment '模型标识'; +alter table hz_st_re_content_definition add COLUMN `model_signage` VARCHAR(64) comment '模型标识'; -- 巡检内容定义添加物模型属性标识字段 -alter table hz_st_re_content add COLUMN `attr_signage` VARCHAR(50) comment '属性标识'; +alter table hz_st_re_content_definition add COLUMN `attr_signage` VARCHAR(50) comment '属性标识'; -- 巡检内容定义添加物模型属性名称字段 -alter table hz_st_re_content add COLUMN `attr_name` VARCHAR(64) comment '属性名称'; +alter table hz_st_re_content_definition add COLUMN `attr_name` VARCHAR(64) comment '属性名称'; -- 设备巡检内容添加物模型标识字段 alter table hz_st_re_content add COLUMN `model_signage` VARCHAR(64) comment '模型标识';