胡轶钦 преди 5 години
родител
ревизия
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}