diff --git a/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseResourceDTO.java b/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseResourceDTO.java index 51e0be83..42c632de 100644 --- a/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseResourceDTO.java +++ b/renren-admin/src/main/java/io/renren/modules/fuse/dto/TbFuseResourceDTO.java @@ -19,7 +19,7 @@ public class TbFuseResourceDTO { @ApiModelProperty(value = "融合服务id") private Long fuseId; @ApiModelProperty(value = "资源id") - private Long resourceId; + private String resourceId; @ApiModelProperty(value = "资源挂载顺序") private String sequence; @ApiModelProperty(value = "资源") diff --git a/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseResourceEntity.java b/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseResourceEntity.java index c66d1aa9..7ce04506 100644 --- a/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseResourceEntity.java +++ b/renren-admin/src/main/java/io/renren/modules/fuse/entity/TbFuseResourceEntity.java @@ -27,7 +27,7 @@ public class TbFuseResourceEntity { /** * 资源id */ - private Long resourceId; + private String resourceId; /** * 顺序 */ diff --git a/renren-admin/src/main/resources/db/V6.5__fuse_update_col.sql b/renren-admin/src/main/resources/db/V6.5__fuse_update_col.sql new file mode 100644 index 00000000..688e61f7 --- /dev/null +++ b/renren-admin/src/main/resources/db/V6.5__fuse_update_col.sql @@ -0,0 +1 @@ +ALTER TABLE `tb_fuse_resource` MODIFY COLUMN `resource_id` longtext NOT NULL COMMENT '资源id'; \ No newline at end of file