能力申请 增加附件
This commit is contained in:
parent
45c87076c5
commit
22415f8a43
|
@ -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); // 写能力申请数据
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,4 +66,10 @@ public class TAbilityApplicationEntity {
|
||||||
* 用户id
|
* 用户id
|
||||||
*/
|
*/
|
||||||
private String userId;
|
private String userId;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附件
|
||||||
|
*/
|
||||||
|
private String enclosure;
|
||||||
}
|
}
|
Loading…
Reference in New Issue