querywarpper and(** or **)
作者:互联网
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
标签:queryWrapper,isInterface,interfaceId,fatherCode,ne,Wrapper,querywarpper 来源: https://www.cnblogs.com/-jn-blog/p/15090050.html