bug修改 --renpc
This commit is contained in:
parent
ea039b447e
commit
1f2e5853af
@ -1051,9 +1051,8 @@
|
|||||||
house_house t1 LEFT JOIN house_population t2 ON t1.house_id = t2.house_id
|
house_house t1 LEFT JOIN house_population t2 ON t1.house_id = t2.house_id
|
||||||
WHERE
|
WHERE
|
||||||
t1.is_delete = 0
|
t1.is_delete = 0
|
||||||
AND t2.is_delete = 0
|
AND (t2.is_delete = 0 OR t2.is_delete IS NULL)
|
||||||
AND (t2.out_house = 0
|
AND (t2.out_house = 0 OR t2.out_house IS NULL)
|
||||||
OR t2.out_house IS NULL)
|
|
||||||
<if test="buildingId != null and buildingId != ''">
|
<if test="buildingId != null and buildingId != ''">
|
||||||
AND building_id = #{buildingId}
|
AND building_id = #{buildingId}
|
||||||
</if>
|
</if>
|
||||||
|
Loading…
Reference in New Issue
Block a user