Compare commits
2 Commits
b8bf1e62f9
...
8459f2acc9
Author | SHA1 | Date |
---|---|---|
wangliwen | 8459f2acc9 | |
wangliwen | ffae066127 |
|
@ -201,7 +201,7 @@ public class ActTaskController {
|
||||||
.map(index_ -> index_.getMember())
|
.map(index_ -> index_.getMember())
|
||||||
.filter(Objects::nonNull)
|
.filter(Objects::nonNull)
|
||||||
.flatMap(index_ -> index_.stream())
|
.flatMap(index_ -> index_.stream())
|
||||||
.map(index_ -> (String) index_.get("id"))
|
.map(index_ -> index_.get("id").toString())
|
||||||
.filter(index_ -> !userId.equals(index_)) // 过滤非本人
|
.filter(index_ -> !userId.equals(index_)) // 过滤非本人
|
||||||
.distinct()
|
.distinct()
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
|
@ -153,7 +153,7 @@ public class ActTaskService extends BaseServiceImpl {
|
||||||
.filter(Objects::nonNull)
|
.filter(Objects::nonNull)
|
||||||
.filter(index -> !index.isEmpty())
|
.filter(index -> !index.isEmpty())
|
||||||
.flatMap(index -> index.stream())
|
.flatMap(index -> index.stream())
|
||||||
.map(index -> (String) index.get("id"))
|
.map(index -> index.get("id").toString())
|
||||||
.filter(index -> !userId.equals(index)) // 过滤非本人
|
.filter(index -> !userId.equals(index)) // 过滤非本人
|
||||||
.distinct()
|
.distinct()
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
Loading…
Reference in New Issue