diff --git a/src/main/resources/mybatis/mapper/building/building-mapper.xml b/src/main/resources/mybatis/mapper/building/building-mapper.xml index bc75c58..93f7c89 100644 --- a/src/main/resources/mybatis/mapper/building/building-mapper.xml +++ b/src/main/resources/mybatis/mapper/building/building-mapper.xml @@ -344,7 +344,8 @@ AND ( - t1.id LIKE CONCAT('%', #{keywords}, '%') + t1.name LIKE CONCAT('%', #{keywords}, '%') + OR t1.build_num LIKE CONCAT('%', #{keywords}, '%') ) diff --git a/src/main/resources/mybatis/mapper/house/house-mapper.xml b/src/main/resources/mybatis/mapper/house/house-mapper.xml index c0a3d6f..b096baf 100644 --- a/src/main/resources/mybatis/mapper/house/house-mapper.xml +++ b/src/main/resources/mybatis/mapper/house/house-mapper.xml @@ -766,7 +766,7 @@ AND ( - t1.id LIKE CONCAT('%', #{keywords}, '%') + t1.house_num LIKE CONCAT('%', #{keywords}, '%') )