Joburgess 4 лет назад
Родитель
Сommit
022b5bd31b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

@@ -679,7 +679,7 @@
         </foreach>
     </select>
     <select id="getNoTeacherOrNoSubjectStudent" resultMap="Student">
-        SELECT * FROM student WHERE teacher_id_ IS NULL OR subject_id_list_ IS NULL;
+        SELECT * FROM student WHERE teacher_id_ IS NULL OR subject_id_list_ IS NULL OR cooperation_organ_id_ IS NULL;
     </select>
 
     <update id="updateGrade"><![CDATA[