bug修改 --renpc

This commit is contained in:
Renpc-kilig 2023-12-20 15:03:49 +08:00
parent 1db53a4431
commit 34ee0d8d18

View File

@ -1052,7 +1052,7 @@
WHERE WHERE
t1.is_delete = 0 t1.is_delete = 0
AND (t2.is_delete = 0 OR t2.is_delete 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 (t2.out_house = 0 OR t2.out_house IS NULL OR t2.out_house = 1)
<if test="buildingId != null and buildingId != ''"> <if test="buildingId != null and buildingId != ''">
AND building_id = #{buildingId} AND building_id = #{buildingId}
</if> </if>