胡轶钦 5 лет назад
Родитель
Сommit
1c37a5c587
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/main/resources/mapper/TaDocumentVerifyMapper.xml

+ 1
- 1
src/main/resources/mapper/TaDocumentVerifyMapper.xml Просмотреть файл

@@ -11,7 +11,7 @@
11 11
 	LEFT JOIN ta_person b ON a.person_id = b.person_id
12 12
 	where 1=1
13 13
 	    <if test="name != '' and name !=null">
14
-            and IFNULL(b.name,b.nickname) = #{name}
14
+            and IFNULL(b.name,b.nickname) like CONCAT('%',#{name}, '%')
15 15
          </if>
16 16
         <if test="name != '' and name !=null">
17 17
             and IFNULL(b.tel,b.phone) = #{tel}