|
@@ -12,6 +12,7 @@ DELETE t FROM basic_exam t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM basic_exam_rule t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM basic_major t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM basic_message t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM basic_operation_log t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM basic_print_config t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM basic_semester t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM basic_student t where t.school_id = #{schoolId};
|
|
@@ -42,6 +43,7 @@ DELETE t FROM exam_task_paper_log t where exists(select temp.* from(select et.id
|
|
|
DELETE t FROM exam_task_print t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM exam_task_review_log t where exists(select temp.* from(select et.id from exam_task et where et.school_id = #{schoolId}) temp where t.exam_task_id = temp.id);
|
|
|
DELETE t FROM exam_task_temp t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM exam_task_sync t where t.school_id = #{schoolId};
|
|
|
|
|
|
DELETE t FROM grade_batch_student t where exists(select temp.* from(select gb.id from grade_batch gb where gb.school_id = #{schoolId}) temp where t.batch_id = temp.id);
|
|
|
DELETE t FROM grade_batch_student_clazz t where exists(select temp.* from(select gb.id from grade_batch gb where gb.school_id = #{schoolId}) temp where t.batch_id = temp.id);
|
|
@@ -76,6 +78,7 @@ DELETE t FROM t_school_privilege t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM t_school_role t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM t_sync_exam_student_score t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM t_sync_stmms_exam t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM t_sync_exam_log t where t.school_id = #{schoolId};
|
|
|
|
|
|
DELETE t FROM teach_clazz t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM teach_course t where t.school_id = #{schoolId};
|