附件的补充

This commit is contained in:
wangliwen 2022-05-05 13:54:07 +08:00
parent 8c33300983
commit 3b0ecebdfb
3 changed files with 10 additions and 0 deletions

View File

@ -74,6 +74,7 @@ public class ResourceMountController {
tResourceMountApplyDTO.setParameterContent(JSONObject.toJSONString(index)); tResourceMountApplyDTO.setParameterContent(JSONObject.toJSONString(index));
tResourceMountApplyDTO.setParameterContentMd5(SecureUtil.md5(JSONObject.toJSONString(index))); tResourceMountApplyDTO.setParameterContentMd5(SecureUtil.md5(JSONObject.toJSONString(index)));
tResourceMountApplyDTO.setResourceDTO(index); tResourceMountApplyDTO.setResourceDTO(index);
tResourceMountApplyDTO.setEnclosure(tResourceBatchMountApplyDTO.getEnclosure());
ValidatorUtils.validateEntity(tResourceMountApplyDTO, AddGroup.class, DefaultGroup.class); ValidatorUtils.validateEntity(tResourceMountApplyDTO, AddGroup.class, DefaultGroup.class);
tResourceMountApplyService.save(tResourceMountApplyDTO); // 保存单条资源申请记录 tResourceMountApplyService.save(tResourceMountApplyDTO); // 保存单条资源申请记录

View File

@ -90,4 +90,7 @@ public class ResourceDTO implements Serializable {
@ApiModelProperty(value = "属性信息") @ApiModelProperty(value = "属性信息")
private List<AttrEntity> infoList; private List<AttrEntity> infoList;
@ApiModelProperty(value = "附件")
private String enclosure;
} }

View File

@ -128,4 +128,10 @@ public class ResourceEntity extends BaseEntity {
* 备用字段 * 备用字段
*/ */
private String note5; private String note5;
/**
* 附件
*/
private String enclosure;
} }