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}