胡轶钦 před 5 roky
rodič
revize
1c37a5c587

+ 1
- 1
src/main/resources/mapper/TaDocumentVerifyMapper.xml Zobrazit soubor

@@ -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}