Преглед на файлове

学生处分查询调整

dzx преди 1 година
родител
ревизия
11cd691642
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/resources/mapper/student/BaseStudentPunishmentInfoMapper.xml

+ 2 - 2
src/main/resources/mapper/student/BaseStudentPunishmentInfoMapper.xml

@@ -90,8 +90,8 @@
         <if test="dto.studentName != null and dto.studentName != ''">
             and t1.name like concat('$',#{dto.studentName},'%')
         </if>
-        <if test="dto.name != null and dto.name != ''">
-            and t1.name like concat('$',#{dto.name},'%')
+        <if test="dto.studentName != null and dto.studentName != ''">
+            and t1.name like concat('$',#{dto.studentName},'%')
         </if>
         <if test="dto.credentialNumber != null and dto.credential_number != ''">
             and t3.credential_number = #{dto.credentialNumber}