xiatian 8 tháng trước cách đây
mục cha
commit
b1988e9c15
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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}