From 1f2e5853afb749dcb77ab7ccb249e8c926240a40 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Fri, 1 Dec 2023 10:57:32 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=20=20--renpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mybatis/mapper/house/house-mapper.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mybatis/mapper/house/house-mapper.xml b/src/main/resources/mybatis/mapper/house/house-mapper.xml index 90aadf5..0ac482d 100644 --- a/src/main/resources/mybatis/mapper/house/house-mapper.xml +++ b/src/main/resources/mybatis/mapper/house/house-mapper.xml @@ -1051,9 +1051,8 @@ house_house t1 LEFT JOIN house_population t2 ON t1.house_id = t2.house_id WHERE t1.is_delete = 0 - AND t2.is_delete = 0 - AND (t2.out_house = 0 - OR t2.out_house IS NULL) + AND (t2.is_delete = 0 OR t2.is_delete IS NULL) + AND (t2.out_house = 0 OR t2.out_house IS NULL) AND building_id = #{buildingId}