顾绍勇 5 lat temu
rodzic
commit
b0612f3f91

+ 1
- 1
src/main/resources/mapper/sample/TaNoticeMapper.xml Wyświetl plik

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