顾绍勇 il y a 5 ans
Parent
révision
b0612f3f91
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/main/resources/mapper/sample/TaNoticeMapper.xml

+ 1
- 1
src/main/resources/mapper/sample/TaNoticeMapper.xml Voir le fichier

@@ -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}, '%')