瀏覽代碼

bug修复

dzx 2 月之前
父節點
當前提交
9e12231e74
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/student/BaseNewStudentMapper.xml

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

@@ -90,7 +90,7 @@
         LEFT JOIN base_class t11 ON t10.class_id = t11.id
         LEFT JOIN xjr_user t12 ON t11.teacher_id = t12.id
         LEFT JOIN student_report_record t13 ON t9.id = t13.user_id and t13.base_semester_id = #{dto.baseSemesterId}
-        WHERE t1.delete_mark = 0
+        WHERE t1.delete_mark = 0 and (t1.delete_reason is null or t1.delete_reason = '')
         <if test="dto.name != null and dto.name != ''">
             and t1.name like concat('%', #{dto.name}, '%')
         </if>