|
|
@@ -82,9 +82,13 @@ public class NewAdminServiceImpl extends BaseMybatisDao<AdminMapper> implements
|
|
|
List<AdminPublicReviewerBo> list = adminPublicReviewerMapper.selectByAid(id);
|
|
|
List<AdminPublicReviewerBo> collect = list.stream().filter(e -> e.getType() == 0).collect(Collectors.toList());
|
|
|
List<AdminPublicReviewerBo> collect2 = list.stream().filter(e -> e.getType() == 1).collect(Collectors.toList());
|
|
|
+ List<AdminPublicReviewerBo> collect3 = list.stream().filter(e -> e.getType() == 2).collect(Collectors.toList());
|
|
|
+ List<AdminPublicReviewerBo> collect4 = list.stream().filter(e -> e.getType() == 3).collect(Collectors.toList());
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("publicReviewer", collect);
|
|
|
map.put("assistReviewer", collect2);
|
|
|
+ map.put("superReviewer", collect3);
|
|
|
+ map.put("carbonCopyReviewer", collect4);
|
|
|
return map;
|
|
|
}
|
|
|
|