sql组合出来为什么有括号
QueryWrapper<User> queryWrapper = new QueryWrapper<User>();
queryWrapper.like("name", "雨").between("age", 20, 40).isNotNull("email");
List<User> selectList = userMapper.selectList(queryWrapper
控制台打印出来的sql:
SELECT id,create_time,name,manager_id,email,age FROM user WHERE (name LIKE ? AND age BETWEEN ? AND ? AND email IS NOT NULL)