顾绍勇 5 년 전
부모
커밋
b0612f3f91
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/main/resources/mapper/sample/TaNoticeMapper.xml

+ 1
- 1
src/main/resources/mapper/sample/TaNoticeMapper.xml 파일 보기

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