This commit is contained in:
wangliwen 2022-08-18 18:14:08 +08:00
parent 92542c2ad8
commit 368d78f48f
2 changed files with 82 additions and 74 deletions

View File

@ -233,8 +233,11 @@ public class AbilityCenterControllerV3 {
auditingBaseDTO.setCompleteEntry(Boolean.TRUE); // 首次录入 auditingBaseDTO.setCompleteEntry(Boolean.TRUE); // 首次录入
auditingBaseDTO.setFlowType("能力申请"); auditingBaseDTO.setFlowType("能力申请");
// TODO
if (user.getDeptId() != null) { if (user.getDeptId() != null) {
SysDeptDTO applyUserDeptDTO = sysDeptService.get(user.getDeptId()); // 发起人的部门 SysDeptDTO applyUserDeptDTO = sysDeptService.get(user.getDeptId()); // 发起人的部门
applyUserDeptDTO.getType(); // 发起人
sysDeptDTO.getType(); // 资源所属部门
} }
Map<String, Object> variables = oMapper.convertValue(auditingBaseDTO, Map.class); Map<String, Object> variables = oMapper.convertValue(auditingBaseDTO, Map.class);

View File

@ -82,6 +82,11 @@ public class SysDeptDTO extends TreeNode implements Serializable {
this.name = name; this.name = name;
} }
/**
* 类型1省级部门2市级部门3区级部门4企业
*
* @return
*/
public Integer getType() { public Integer getType() {
return type; return type;
} }