魏超 5 vuotta sitten
vanhempi
commit
8ad5100567
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/main/resources/mapper/TaRaiseRecordMapper.xml

+ 1
- 1
src/main/resources/mapper/TaRaiseRecordMapper.xml Näytä tiedosto

@@ -129,7 +129,7 @@
129 129
             AND t.create_date <= STR_TO_DATE(#{bo.endTime}, '%Y-%m-%d %H:%i:%s')
130 130
         </if>
131 131
         <if test="bo.personName != null and bo.personName != ''">
132
-            AND t.name = #{bo.personName}
132
+            AND t.name like CONCAT('%', #{bo.personName} , '%')
133 133
         </if>
134 134
         GROUP BY
135 135
             t2.raise_record_id