templateSet.add(template);
continue;
}
//其它角色查看
List<Role> userRoleList = Arrays.asList(flow.queryUserNodeRoles(das.getUsername(), template.getId()));
Role[] readActionRoles = flow.queryReadActionRoles();
for(Role role : readActionRoles){
if(userRoleList.contains(role)){
templateSet.add(template);