♻️ 【工作流】 多人任务前端显示头像信息去重

(cherry picked from commit 81da50fbedb48a96e8a19250e8adf2170e50a4e9)
This commit is contained in:
冷冷 committed 2024-08-16 15:19:08 +08:00
1 parent 97348c9e83
commit f8630da5af
1 file changed
+3 -1
@@ -193,7 +193,9 @@ public class NodeFormatUtil {
userVoList.addAll(tempList);
}
nodeVo.setUserVoList(userVoList);
// 根据userVo 的ID 去重userVoList
nodeVo.setUserVoList(CollUtil.distinct(userVoList, UserVo::getId, true));
List<NodeVo> branchList = new ArrayList<>();