diff --git a/src/main/resources/mybatis/mapper/population/population-mapper.xml b/src/main/resources/mybatis/mapper/population/population-mapper.xml index 4fd4f5b..862f774 100644 --- a/src/main/resources/mybatis/mapper/population/population-mapper.xml +++ b/src/main/resources/mybatis/mapper/population/population-mapper.xml @@ -248,7 +248,7 @@ t1.house_id = hh.house_id WHERE t1.is_delete = 0 - AND t1.out_house = 0 + AND t1.out_house = 0 OR t1.out_house IS NULL AND hh.is_delete = 0