Ver código fonte

修改表名称

linhuili 2 anos atrás
pai
commit
df99c9b69f

+ 3 - 3
dmp-business/dmp-rwd/src/main/resources/db/init/schema.sql

@@ -310,7 +310,7 @@ CREATE TABLE IF NOT EXISTS `dt_sync_data` (
    PRIMARY KEY (`id`)
 ) ENGINE=InnoDB ROW_FORMAT=DYNAMIC COMMENT='adm交付数据同步到项目现场';
 
-CREATE TABLE IF NOT EXISTS `dt_define_type_collect` (
+CREATE TABLE IF NOT EXISTS `dt_define_type_delivery` (
     `id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1' COMMENT '主键ID',
     `group_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '集团编码',
     `project_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目ID',
@@ -333,7 +333,7 @@ CREATE TABLE IF NOT EXISTS `dt_define_type_collect` (
     PRIMARY KEY (`id`) USING BTREE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='对象类型交付表';
 
-CREATE TABLE IF NOT EXISTS `dt_define_info_collect` (
+CREATE TABLE IF NOT EXISTS `dt_define_info_delivery` (
   `id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
   `group_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '集团编码',
   `project_id` varchar(40) COLLATE utf8mb4_general_ci DEFAULT NULL,
@@ -356,7 +356,7 @@ CREATE TABLE IF NOT EXISTS `dt_define_info_collect` (
   PRIMARY KEY (`id`) USING BTREE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='信息点交付配置表';
 
-CREATE TABLE IF NOT EXISTS `dt_define_relation_collect` (
+CREATE TABLE IF NOT EXISTS `dt_define_relation_delivery` (
   `id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
   `group_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '集团编码',
   `project_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目ID',

+ 1 - 1
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/delivery/entity/ObjectInfoCollect.java

@@ -14,7 +14,7 @@ import javax.validation.constraints.NotNull;
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-@TableName(value = "dt_define_info_collect", autoResultMap = true)
+@TableName(value = "dt_define_info_delivery", autoResultMap = true)
 public class ObjectInfoCollect extends AuditableEntity {
     /** 集团编码 */
     private String groupCode;

+ 1 - 1
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/delivery/entity/ObjectTypeCollect.java

@@ -17,7 +17,7 @@ import javax.validation.constraints.NotNull;
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-@TableName(value = "dt_define_type_collect", autoResultMap = true)
+@TableName(value = "dt_define_type_delivery", autoResultMap = true)
 public class ObjectTypeCollect extends AuditableEntity {
     /** 集团编码 */
     private String groupCode;

+ 1 - 1
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/delivery/entity/RelationDefineCollect.java

@@ -18,7 +18,7 @@ import java.util.List;
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-@TableName(value = "dt_define_relation_collect", autoResultMap = true)
+@TableName(value = "dt_define_relation_delivery", autoResultMap = true)
 public class RelationDefineCollect extends AuditableEntity {
     /** 集团编码 */
     private String groupCode;