diff --git a/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseDTO.java b/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseDTO.java index 9eb0728b..ee20aba7 100644 --- a/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseDTO.java +++ b/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseDTO.java @@ -58,8 +58,10 @@ public class TbFuseDTO { private Integer dataSourceCount; @ApiModelProperty(value = "组件服务数量") private Integer componentCount; - @ApiModelProperty(value = "组件服务数量") + @ApiModelProperty(value = "赋能场景类型:0市级,1基层") private Integer district; + @ApiModelProperty(value = "基层赋能场景所属地区") + private String area; } diff --git a/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseEntity.java b/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseEntity.java index 58e4d62a..6b8c1a55 100644 --- a/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseEntity.java +++ b/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseEntity.java @@ -80,5 +80,5 @@ public class TbFuseEntity extends BaseEntity { private Integer dataSourceCount; private Integer componentCount; private Integer district; - + private String area; } diff --git a/renren-admin/src/main/resources/db/V8.4__tb_fuse_add_col.sql b/renren-admin/src/main/resources/db/V8.4__tb_fuse_add_col.sql index c752b342..cd5562b6 100644 --- a/renren-admin/src/main/resources/db/V8.4__tb_fuse_add_col.sql +++ b/renren-admin/src/main/resources/db/V8.4__tb_fuse_add_col.sql @@ -1 +1,2 @@ -ALTER TABLE tb_fuse ADD COLUMN `district` int(2) DEFAULT 0 COMMENT '赋能场景类型:0市级、1基层场景'; \ No newline at end of file +ALTER TABLE tb_fuse ADD COLUMN `district` int(2) DEFAULT 0 COMMENT '赋能场景类型:0市级、1基层场景', + ADD COLUMN `area` varchar(128) NULL COMMENT '基层赋能场景所属地区'; \ No newline at end of file diff --git a/renren-admin/src/main/resources/mapper/fuse/TbFuseDao.xml b/renren-admin/src/main/resources/mapper/fuse/TbFuseDao.xml index 6ac06ab3..f98606e6 100644 --- a/renren-admin/src/main/resources/mapper/fuse/TbFuseDao.xml +++ b/renren-admin/src/main/resources/mapper/fuse/TbFuseDao.xml @@ -20,6 +20,7 @@ +