Commit 47d8c5f1 by zsy

zsy

parent d010408e
...@@ -428,7 +428,7 @@ ...@@ -428,7 +428,7 @@
<created_user/> <created_user/>
<created_date>2020/10/27 07:07:09.772</created_date> <created_date>2020/10/27 07:07:09.772</created_date>
<modified_user>admin</modified_user> <modified_user>admin</modified_user>
<modified_date>2020/11/03 09:17:07.279</modified_date> <modified_date>2020/11/03 16:06:36.778</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> <key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private> <is_key_private>N</is_key_private>
</info> </info>
...@@ -575,6 +575,34 @@ using (select ss.exam_id,ss.subject_id,zz.id from union_yuejuan_source_process.b ...@@ -575,6 +575,34 @@ using (select ss.exam_id,ss.subject_id,zz.id from union_yuejuan_source_process.b
inner join union_yuejuan_source_process.bus_exam_question_del_log ss on zz.exam_id=ss.exam_id and zz.subject_id=ss.subject_id and zz.record_id=ss.record_id inner join union_yuejuan_source_process.bus_exam_question_del_log ss on zz.exam_id=ss.exam_id and zz.subject_id=ss.subject_id and zz.record_id=ss.record_id
where ss.oper_type=3 and ss.is_execute=0) b where ss.oper_type=3 and ss.is_execute=0) b
where a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.id=a.subj_ques_score_id; where a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.id=a.subj_ques_score_id;
-------------------------
-------------------------
delete from union_yuejuan_source_process.bus_objective_question_config a
using union_yuejuan_source_process.bus_exam_question_del_log b
where b.is_execute=0 and a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.oper_type=4;
delete from union_yuejuan_source_process.bus_student_obj_ques_score a
using union_yuejuan_source_process.bus_exam_question_del_log b
where b.is_execute=0 and a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.oper_type=4;
delete from union_yuejuan_source_process.bus_student_subj_ques_arbitrate_record a
using union_yuejuan_source_process.bus_exam_question_del_log b
where b.is_execute=0 and a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.oper_type=4;
delete from union_yuejuan_source_process.bus_student_subj_ques_score a
using union_yuejuan_source_process.bus_exam_question_del_log b
where b.is_execute=0 and a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.oper_type=4;
delete from union_yuejuan_source_process.bus_student_subj_ques_score_record a
using union_yuejuan_source_process.bus_exam_question_del_log b
where b.is_execute=0 and a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.oper_type=4;
delete from union_yuejuan_source_process.bus_subjective_question_config a
using union_yuejuan_source_process.bus_exam_question_del_log b
where b.is_execute=0 and a.exam_id=b.exam_id and a.subject_id=b.subject_id and b.oper_type=4;
---------------- ----------------
---------------- ----------------
delete from union_yuejuan_source_process.gp_waiting_statistics_exam; delete from union_yuejuan_source_process.gp_waiting_statistics_exam;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment