Browse Source

证书认证取消模糊检索

Memory_LG 4 months ago
parent
commit
d8f22032d4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/com/sooka/mybatis/mapper/TCmsContentMapper.xml

+ 2 - 2
src/main/resources/com/sooka/mybatis/mapper/TCmsContentMapper.xml

@@ -405,10 +405,10 @@
             and c.site_id=#{siteId}
             and c.status=1
             <if test="title != null and title != ''">
-                and c.title like CONCAT('%', #{title}, '%')
+                and c.title = #{title}
             </if>
             <if test="telephone != null and telephone != ''">
-                and c.keywords like CONCAT('%', #{telephone}, '%')
+                and c.keywords = #{telephone}
             </if>
         order by c.content_id desc
     </select>