拆单 是否完成
This commit is contained in:
parent
7bdbecfe63
commit
92dc144d7d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue