feat(REQ-4468) - 冗余信息缓存手机号

This commit is contained in:
wangli 2025-06-30 21:08:13 +08:00
parent c4e02f429c
commit b8e6fbc8b7
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,11 @@ public class OrgStructureSnapshotInfo implements Serializable {
*/
private String personName;
/**
* 手机号
*/
private String phone;
/**
* 审批人顶级节点 ID
*/

View File

@ -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())