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}