deason 1 year ago
parent
commit
8d476e8b14
1 changed files with 15 additions and 13 deletions
  1. 15 13
      upgrade-202304/20230420至现在-待升级内容.txt

+ 15 - 13
upgrade-202304/20230420至现在-待升级内容.txt

@@ -25,12 +25,12 @@ CREATE TABLE ec_oe_exam_statistic
 
 alter table ec_e_exam_course_relation add column pass_score_line int(11) not null default 60;
 alter table ec_e_exam_course_relation add column good_score_line int(11) not null default 90;
-
 alter table ec_e_exam add column call_type varchar(50) not null default 'WHOLE_SET';
 
 alter table ec_m_student_paper add column total_score double;
 alter table ec_m_student_paper add column subjective_score double;
 alter table ec_m_mark_work add column call_type varchar(50) not null default 'WHOLE_SET';
+
 CREATE TABLE `ec_m_random_result_item` (
   `id` bigint(20) NOT NULL AUTO_INCREMENT,
   `student_paper_id` bigint(20) NOT NULL,
@@ -61,22 +61,23 @@ MongoDB部分
 		randomPaperQuestion 
 	新增字段 
 		表extractConfig 新增字段 randomPaperId、playTime
-新建索引
-db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId", unique: false });
-db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
-db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
-db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
-db.getCollection('question').createIndex({"orgId":1,"course.code":1},{ name: "INDEX_orgCourse", unique: false });
-db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
+    新建索引
+    db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId", unique: false });
+    db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
+    db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
+    db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
+    db.getCollection('question').createIndex({"orgId":1,"course.code":1},{ name: "INDEX_orgCourse", unique: false });
+    db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
+
+
 Redis部分
-规范KEY前缀 ok
+规范KEY前缀 (线上环境:本次切换至新的 database 1)  todo
 
 
 ***** ***** ***** ***** ***** ***** *****
 二、数据割接部分
 ***** ***** ***** ***** ***** ***** *****
-
-paper_score 赋值 todo
+paper_score 赋值(仅割接近三个月)todo
 
 
 ***** ***** ***** ***** ***** ***** *****
@@ -107,10 +108,11 @@ UPDATE ec_b_privilege SET code = 'score_detail_export', name = '成绩明细-导
 五、其它变更(如:系统参数、环境、脚本。。。)
 ***** ***** ***** ***** ***** ***** *****
 
-移除模块:examcloud-logic-marking
 移除模块:examcloud-bridge
+移除模块:examcloud-logic-marking
+移除模块:examcloud-exchange-dock
 
 
-$DISABLED_ORG_ID 改为 $OE:OLD_API_BLACK_LIST
+$DISABLED_ORG_ID 改为 $OE:OLD_API_BLACK_LIST (旧API黑名单,仅线上使用) todo
 ["java.util.ArrayList",[["java.lang.Long",17351],["java.lang.Long",18734],["java.lang.Long",18735],["java.lang.Long",20934],["java.lang.Long",718],["java.lang.Long",1387],["java.lang.Long",371],["java.lang.Long",1347],["java.lang.Long",137],["java.lang.Long",19950]]]