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

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

@@ -31,7 +31,7 @@
31 31
             and city_id = #{cityId}
32 32
         </if>
33 33
         <if test="title != null and title != ''">
34
-            and title = #{title}
34
+            and title like CONCAT('%', #{title} , '%')
35 35
         </if>
36 36
         <if test="orgId != null and orgId != ''">
37 37
             and org_id = #{orgId}