feat(REQ-4468) - 冗余信息缓存手机号
This commit is contained in:
parent
c4e02f429c
commit
b8e6fbc8b7
@ -28,6 +28,11 @@ public class OrgStructureSnapshotInfo implements Serializable {
|
||||
*/
|
||||
private String personName;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* 审批人顶级节点 ID
|
||||
*/
|
||||
|
||||
@ -174,6 +174,7 @@ public class TaskEntityEventHandle implements EntityEventHandle<TaskEntity> {
|
||||
assignee.setNodeId(String.valueOf(firstNodeUser.getTopNodeId()));
|
||||
|
||||
OrgStructureSnapshotInfo snapshotInfo = builder.personName(firstNodeUser.getRealName())
|
||||
.phone(firstNodeUser.getPhone())
|
||||
.topNodeId(firstNodeUser.getTopNodeId())
|
||||
.projectInfo(Objects.nonNull(firstNodeUser.getCooperateShip()) ? OrgSnapshotInfo.builder()
|
||||
.workspaceName(firstNodeUser.getCooperateShip().getWorkspaceName())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user