|
@@ -37,7 +37,7 @@ delete from scan_paper_page where paper_id in (select id from scan_paper where e
|
|
|
delete from scan_student_paper where paper_id in (select id from scan_paper where exam_id in (select id from basic_exam where school_id = #{schoolId}));
|
|
|
delete from scan_paper where exam_id in (select id from basic_exam where school_id = #{schoolId});
|
|
|
delete from scan_refix_batch where exam_id in (select id from basic_exam where school_id = #{schoolId});
|
|
|
-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};
|
|
@@ -56,10 +56,19 @@ DELETE t FROM basic_role_data_permission t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM client_print_data t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM client_status t where t.school_id = #{schoolId};
|
|
|
|
|
|
-DELETE t FROM course_target t where t.school_id = #{schoolId};
|
|
|
-DELETE t FROM course_evaluation t where t.school_id = #{schoolId};
|
|
|
-DELETE t FROM course_weight t where t.school_id = #{schoolId};
|
|
|
-DELETE t FROM course_dimension t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_target t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_evaluation t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_weight t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_dimension t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_outline t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_requirement_dimension t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM obe_course_requirement_matrix t where t.culture_program_id in (select id from obe_culture_program where school_id = #{schoolId});
|
|
|
+DELETE t FROM obe_course_requirement_report t where t.culture_program_id in (select id from obe_culture_program where school_id = #{schoolId});
|
|
|
+DELETE t FROM obe_culture_program_course t where t.culture_program_id in (select id from obe_culture_program where school_id = #{schoolId});
|
|
|
+DELETE t FROM obe_culture_program_requirement t where t.culture_program_id in (select id from obe_culture_program where school_id = #{schoolId});
|
|
|
+DELETE t FROM obe_culture_program_target t where t.culture_program_id in (select id from obe_culture_program where school_id = #{schoolId});
|
|
|
+DELETE t FROM obe_requirement_target_matrix t where t.culture_program_id in (select id from obe_culture_program where school_id = #{schoolId});
|
|
|
+DELETE t FROM obe_culture_program t where t.school_id = #{schoolId};
|
|
|
|
|
|
DELETE t FROM exam_card t where t.school_id = #{schoolId};
|
|
|
DELETE t FROM exam_detail t where t.school_id = #{schoolId};
|
|
@@ -117,4 +126,5 @@ DELETE t FROM t_sync_exam_student_score 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};
|
|
|
-DELETE t FROM teach_student t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM teach_student t where t.school_id = #{schoolId};
|
|
|
+DELETE t FROM basic_exam t where t.school_id = #{schoolId};
|