xiatian преди 8 месеца
родител
ревизия
b1988e9c15
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mapper/StudentMapper.xml

+ 1 - 1
src/main/resources/mapper/StudentMapper.xml

@@ -678,7 +678,7 @@
             and t.exam_site=#{req.examSite}
         </if>
         <if test="req.name != null and req.name !=''">
-            and t.name=like concat(#{req.name}, '%')
+            and t.name like concat('%',#{req.name}, '%')
         </if>
         <if test="req.packageCode != null and req.packageCode !=''">
             and t.package_code=#{req.packageCode}