傅行帆 il y a 5 ans
Parent
révision
905a1e53ba
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/main/resources/mapper/TaBuildingDynamicMapper.xml

+ 1
- 1
src/main/resources/mapper/TaBuildingDynamicMapper.xml Voir le fichier

@@ -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