xiatian 8 months ago
parent
commit
b1988e9c15
1 changed files with 1 additions and 1 deletions
  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}