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}