傅行帆 5 lat temu
rodzic
commit
905a1e53ba

+ 1
- 1
src/main/resources/mapper/TaBuildingDynamicMapper.xml Wyświetl plik

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