@@ -24,7 +24,7 @@
<if test="buildingId != null and buildingId !=''">
and building_id = #{buildingId}
</if>
- <if test="cityId != 0">
+ <if test="cityId != 0 and cityId != null">
and city_id = #{cityId}
ORDER BY create_date DESC