zqy
2025-04-22 0fa28f3b1a9d196c415f09bd3538fecdabbb6d64
zhang-content/src/main/java/com/ruoyi/service/impl/ZSelfNoteServiceImpl.java
@@ -87,10 +87,11 @@
    public List<Long> getAll(){
        SysUser user = SecurityUtils.getLoginUser().getUser();
        Long userId = user.getUserId();
        List<Long> allList = new ArrayList<>();
        Long source = zfShareDataService.getSource(userId);
        List<Long> allList = zfShareDataService.getAllPerson(Collections.singletonList(source));
        allList.add(source);
        allList.addAll(zfShareDataService.getAllPerson(Collections.singletonList(source)));
        List<Long> collect = allList.stream().distinct().collect(Collectors.toList());
        List<Long> all = new ArrayList<>();