顾绍勇 hace 5 años
padre
commit
b0612f3f91
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/main/resources/mapper/sample/TaNoticeMapper.xml

+ 1
- 1
src/main/resources/mapper/sample/TaNoticeMapper.xml Ver fichero

@@ -12,7 +12,7 @@
12 12
         where
13 13
             t.`status` != -1
14 14
             <if test="title != null and title != ''">
15
-                t.title like CONCAT('%',#{title}, '%')
15
+                AND t.title like CONCAT('%',#{title}, '%')
16 16
             </if>
17 17
             <if test="targetName != null and targetName != ''">
18 18
                 AND t2.sample_name like CONCAT('%',#{targetName}, '%')