Browse Source

新生报到bug解决

dzx 6 months ago
parent
commit
0c1e2dd98e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/student/StudentReportRecordMapper.xml

+ 1 - 1
src/main/resources/mapper/student/StudentReportRecordMapper.xml

@@ -47,7 +47,7 @@
         WHERE t1.delete_mark = 0 AND t2.delete_mark = 0
         AND t3.teacher_id = #{dto.teacherId}
         <if test="dto.keyword != null and dto.keyword != ''">
-            t1.name like concat('%', #{dto.keyword},'%')
+            and t1.name like concat('%', #{dto.keyword},'%')
         </if>
         ORDER BY t1.create_date DESC, t2.create_date DESC,t3.create_date DESC
     </select>