MybatisPlus的使用根据id查询相关数据集合

问题遇到的现象和发生背景

使用mybatisPlus根据ParentId查询数据,使用了service.list获取数据时,发现有查询到对应的数据,并且正确,但是数据却没有查完。有8条数据,查询出来却只有4条

问题相关代码,请勿粘贴截图
 @Override
    public List<Subject> selectSubjectList(Long id) {
        LambdaQueryWrapper<Subject> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(Subject::getParentId,id);
        System.out.println("this.count() = " + this.count(wrapper));
        List<Subject> list = this.list(wrapper);
        this.isChild(list);
        return list;
    }

img

运行结果及报错内容

无报错

我的解答思路和尝试过的方法
我想要达到的结果

能够查询出所有数据

介意提供debug结果 你所说的这种问题理论上是不存在的