haonan 1 vuosi sitten
vanhempi
commit
bc129904e3

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/TenantAlbumMapper.xml

@@ -29,7 +29,7 @@
         left join tenant_info i on r.tenant_id_ = i.id_
         <where>
             <if test="param.name != null and param.name != ''">
-                and t.name_ = #{param.name}
+                and t.name_ like CONCAT('%', #{param.name}, '%')
             </if>
             <if test="param.tenantId != null ">
                 and i.id_= #{param.tenantId}