Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-21 16:58:23 +08:00
commit aa4b0d3d70
1 changed files with 2 additions and 2 deletions

View File

@ -260,8 +260,8 @@ public class TAbilityApplicationController {
}));
tAbilityApplicationV2DTO.setEnded(re.keySet().stream().map(index -> {
List<Map<String, Object>> index_ = re.get(index);
return index_.stream().map(temp -> !(Boolean) temp.get("ended")).findAny().orElse(Boolean.FALSE); // 存在未完成流程
}).filter(index -> index).findAny().orElse(Boolean.FALSE));
return index_.stream().map(temp -> !(Boolean) temp.get("ended")).filter(i -> i).findAny().orElse(Boolean.FALSE); // 存在未完成流程
}).filter(index -> index).map(index -> !index).findAny().orElse(Boolean.TRUE));
tAbilityApplicationV2DTO.setResourceApplication(re);
return new Result<TAbilityApplicationV2DTO>().ok(tAbilityApplicationV2DTO);
}