傅行帆 5 년 전
부모
커밋
905a1e53ba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/main/resources/mapper/TaBuildingDynamicMapper.xml

+ 1
- 1
src/main/resources/mapper/TaBuildingDynamicMapper.xml 파일 보기

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