mybatis连续2次eq,为什么没有重置,只是叠加查询
QueryWrapper queryWrapper = new QueryWrapper(); 再写一遍
queryWrapper.eq("type", 1);
queryWrapper.eq("type", 2); 是属于叠加的意思
where type = 1 and type = 2`
QueryWrapper queryWrapper = new QueryWrapper(); 再写一遍
queryWrapper.eq("type", 1);
queryWrapper.eq("type", 2); 是属于叠加的意思
where type = 1 and type = 2`