能力申请 增加附件

This commit is contained in:
wangliwen 2022-05-05 11:28:52 +08:00
parent 45c87076c5
commit 22415f8a43
4 changed files with 13 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public class AbilityCenterController {
tAbilityApplicationDTO.setResourceId(index.get("resourceId")); tAbilityApplicationDTO.setResourceId(index.get("resourceId"));
tAbilityApplicationDTO.setUser(abilityBatchApplicationDTO.getUser()); tAbilityApplicationDTO.setUser(abilityBatchApplicationDTO.getUser());
tAbilityApplicationDTO.setSystem(index.get("resourceName")); tAbilityApplicationDTO.setSystem(index.get("resourceName"));
tAbilityApplicationDTO.setEnclosure(abilityBatchApplicationDTO.getEnclosure()); // 附件
// 仿照请求接口 /processForm/tabilityapplication // 仿照请求接口 /processForm/tabilityapplication
ValidatorUtils.validateEntity(tAbilityApplicationDTO, AddGroup.class, DefaultGroup.class); ValidatorUtils.validateEntity(tAbilityApplicationDTO, AddGroup.class, DefaultGroup.class);
tAbilityApplicationService.save(tAbilityApplicationDTO); // 写能力申请数据 tAbilityApplicationService.save(tAbilityApplicationDTO); // 写能力申请数据

View File

@ -42,4 +42,7 @@ public class TAbilityApplicationDTO implements Serializable {
@ApiModelProperty(value = "用户id") @ApiModelProperty(value = "用户id")
private String userId; private String userId;
@ApiModelProperty(value = "附件")
private String enclosure;
} }

View File

@ -38,4 +38,7 @@ public class TAbilityBatchApplicationDTO implements Serializable {
private String resourceId; private String resourceId;
@ApiModelProperty(value = "用户id") @ApiModelProperty(value = "用户id")
private String userId; private String userId;
@ApiModelProperty(value = "附件")
private String enclosure;
} }

View File

@ -66,4 +66,10 @@ public class TAbilityApplicationEntity {
* 用户id * 用户id
*/ */
private String userId; private String userId;
/**
* 附件
*/
private String enclosure;
} }