xiatian 1 жил өмнө
parent
commit
dd1c9774b4

+ 7 - 3
upgrade-202308/20230807至现在-待升级内容.txt

@@ -6,8 +6,10 @@ release_v5.0.2
 ***** ***** ***** ***** ***** ***** *****
 
 MySql部分
-ALTER TABLE ec_e_exam DROP call_type;
-ALTER TABLE ec_m_mark_work DROP call_type;
+alter table ec_e_exam drop call_type;
+alter table ec_m_mark_work drop call_type;
+alter table ec_m_student_paper add column random_paper bit(1) not null default 0;
+
 
 MongoDB部分
 暂无
@@ -18,7 +20,9 @@ Redis部分
 ***** ***** ***** ***** ***** ***** *****
 二、数据割接部分
 ***** ***** ***** ***** ***** ***** *****
-暂无
+update ec_m_student_paper
+INNER JOIN ec_oe_exam_record_data on ec_m_student_paper.exam_record_data_id=ec_oe_exam_record_data.id
+set ec_m_student_paper.random_paper=ec_oe_exam_record_data.random_paper;
 
 ***** ***** ***** ***** ***** ***** *****
 三、配置文件变更