zqy
2025-01-14 d93b232662d6d90f858996769a7d89ff0b4cf88c
重新提交修改了个人记事本bug
1个文件已修改
5 ■■■■■ 已修改文件
zhang-content/src/main/java/com/ruoyi/service/impl/ZSelfNoteServiceImpl.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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<>();