Procházet zdrojové kódy

小区名称改为 like 搜素

wuxw před 6 roky
rodič
revize
38e4d25d2f

+ 2 - 2
java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml

@@ -438,7 +438,7 @@
             and t.city_code= #{cityCode}
         </if>
         <if test="name !=null and name != ''">
-            and t.name= #{name}
+            and t.name like concat('%',#{name},'%')
         </if>
         <if test="statusCd !=null and statusCd != ''">
             and t.status_cd= #{statusCd}
@@ -498,7 +498,7 @@
             and t.city_code= #{cityCode}
         </if>
         <if test="name !=null and name != ''">
-            and t.name= #{name}
+            and t.name like concat('%',#{name},'%')
         </if>
         <if test="statusCd !=null and statusCd != ''">
             and t.status_cd= #{statusCd}