您好,很高兴为您解答,可通过taskService方法: taskService: List getIdentityLinksForTask(String taskId) 如: for (IdentityLink il : taskService.getIdentityLinksForTask(taskId))希望对你有用,望采纳!