From 3b0ecebdfb3c676eb547daea713dacf06bf8c14b Mon Sep 17 00:00:00 2001 From: wangliwen Date: Thu, 5 May 2022 13:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=84=E4=BB=B6=E7=9A=84=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renren/common/controller/ResourceMountController.java | 1 + .../java/io/renren/modules/resource/dto/ResourceDTO.java | 3 +++ .../io/renren/modules/resource/entity/ResourceEntity.java | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/renren-admin/src/main/java/io/renren/common/controller/ResourceMountController.java b/renren-admin/src/main/java/io/renren/common/controller/ResourceMountController.java index 30b9c005..b4d3e53b 100644 --- a/renren-admin/src/main/java/io/renren/common/controller/ResourceMountController.java +++ b/renren-admin/src/main/java/io/renren/common/controller/ResourceMountController.java @@ -74,6 +74,7 @@ public class ResourceMountController { tResourceMountApplyDTO.setParameterContent(JSONObject.toJSONString(index)); tResourceMountApplyDTO.setParameterContentMd5(SecureUtil.md5(JSONObject.toJSONString(index))); tResourceMountApplyDTO.setResourceDTO(index); + tResourceMountApplyDTO.setEnclosure(tResourceBatchMountApplyDTO.getEnclosure()); ValidatorUtils.validateEntity(tResourceMountApplyDTO, AddGroup.class, DefaultGroup.class); tResourceMountApplyService.save(tResourceMountApplyDTO); // 保存单条资源申请记录 diff --git a/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java b/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java index e8125bac..ce5bb875 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/dto/ResourceDTO.java @@ -90,4 +90,7 @@ public class ResourceDTO implements Serializable { @ApiModelProperty(value = "属性信息") private List infoList; + @ApiModelProperty(value = "附件") + private String enclosure; + } \ No newline at end of file diff --git a/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java b/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java index 63467f71..4a5d805f 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/entity/ResourceEntity.java @@ -128,4 +128,10 @@ public class ResourceEntity extends BaseEntity { * 备用字段 */ private String note5; + + + /** + * 附件 + */ + private String enclosure; } \ No newline at end of file