有一种场景,查询时必须满足条件1,同时必须满足条件2或条件3,即 a and b or a and c 表达式写法如下: LambdaQueryWrapper<AttrValue>productAttrValueQueryWrapper1=new LambdaQueryWrapper<>(); productAttrValueQueryWrapper1.in(!CollectionUtils
一,上代码 QueryWrapper<Device> queryWrapper = Wrappers.query();queryWrapper.select("project_id as projectId,count(device_id) as total").in("project_id",projectIds).isNotNull("project_id").eq("del_flag",B