queryWrapper.eq("fatherCode","1");
queryWrapper.and(Wrapper -> Wrapper.ne("interfaceId",1).or().isNull("isInterface"));
相当于 where fatherCode = 1 and ( interfaceId != 1 or isInterface is null)
queryWrapper.eq("fatherCode","1");
queryWrapper.ne("interfaceId",1).or().isNull("isInterface");
相当于 where fatherCode = 1 and interfaceId != 1 or isInterface is null
原文:https://www.cnblogs.com/-jn-blog/p/15090050.html