...
This commit is contained in:
parent
92542c2ad8
commit
368d78f48f
|
@ -233,8 +233,11 @@ public class AbilityCenterControllerV3 {
|
|||
auditingBaseDTO.setCompleteEntry(Boolean.TRUE); // 首次录入
|
||||
auditingBaseDTO.setFlowType("能力申请");
|
||||
|
||||
// TODO
|
||||
if (user.getDeptId() != null) {
|
||||
SysDeptDTO applyUserDeptDTO = sysDeptService.get(user.getDeptId()); // 发起人的部门
|
||||
applyUserDeptDTO.getType(); // 发起人
|
||||
sysDeptDTO.getType(); // 资源所属部门
|
||||
}
|
||||
|
||||
Map<String, Object> variables = oMapper.convertValue(auditingBaseDTO, Map.class);
|
||||
|
|
|
@ -25,16 +25,16 @@ public class SysDeptDTO extends TreeNode implements Serializable {
|
|||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "id")
|
||||
@Null(message="{id.null}", groups = AddGroup.class)
|
||||
@NotNull(message="{id.require}", groups = UpdateGroup.class)
|
||||
@Null(message = "{id.null}", groups = AddGroup.class)
|
||||
@NotNull(message = "{id.require}", groups = UpdateGroup.class)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "上级ID")
|
||||
@NotNull(message="{sysdept.pid.require}", groups = DefaultGroup.class)
|
||||
@NotNull(message = "{sysdept.pid.require}", groups = DefaultGroup.class)
|
||||
private Long pid;
|
||||
|
||||
@ApiModelProperty(value = "部门名称")
|
||||
@NotBlank(message="{sysdept.name.require}", groups = DefaultGroup.class)
|
||||
@NotBlank(message = "{sysdept.name.require}", groups = DefaultGroup.class)
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "类型:1省级部门,2市级部门,3区级部门,4企业")
|
||||
|
@ -82,6 +82,11 @@ public class SysDeptDTO extends TreeNode implements Serializable {
|
|||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 类型:1省级部门,2市级部门,3区级部门,4企业
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue