在service层加上多条件查询 从swagger输入 在swagger查看数据 可以看到查出到数据了 返回控制台查看SQL语句 可以看到控制台条件查询就有 or 了 WHERE (hi.community_name LIKE ? OR hi.house_number LIKE ?) 相关文章: