Compare commits

...

2 Commits

Author SHA1 Message Date
wangliwen 8459f2acc9 Merge branch 'dev' 2022-12-14 14:24:24 +08:00
wangliwen ffae066127 500 2022-12-14 14:24:15 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ public class ActTaskController {
.map(index_ -> index_.getMember())
.filter(Objects::nonNull)
.flatMap(index_ -> index_.stream())
.map(index_ -> (String) index_.get("id"))
.map(index_ -> index_.get("id").toString())
.filter(index_ -> !userId.equals(index_)) // 过滤非本人
.distinct()
.collect(Collectors.toList());

View File

@ -153,7 +153,7 @@ public class ActTaskService extends BaseServiceImpl {
.filter(Objects::nonNull)
.filter(index -> !index.isEmpty())
.flatMap(index -> index.stream())
.map(index -> (String) index.get("id"))
.map(index -> index.get("id").toString())
.filter(index -> !userId.equals(index)) // 过滤非本人
.distinct()
.collect(Collectors.toList());