deason 2 år sedan
förälder
incheckning
05721b5247
1 ändrade filer med 21 tillägg och 1 borttagningar
  1. 21 1
      upgrade-202304/20230420至现在-待升级内容.txt

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

@@ -7,10 +7,30 @@ release_v5.0.1
 
 MySql部分
 
+CREATE TABLE ec_oe_exam_statistic
+(
+    id               BIGINT AUTO_INCREMENT NOT NULL,
+    update_time      datetime              NOT NULL,
+    creation_time    datetime              NOT NULL,
+    exam_id          BIGINT                NOT NULL,
+    course_id        BIGINT                NOT NULL,
+    org_id           BIGINT                NOT NULL,
+    all_count        INT                   NOT NULL,
+    finish_count     INT                   NOT NULL,
+    pass_score_count INT                   NOT NULL,
+    good_score_count INT                   NOT NULL,
+    PRIMARY KEY (`id`),
+    KEY `IDX_OE_ES_001` (`exam_id`),
+    KEY `IDX_OE_ES_002` (`course_id`),
+    KEY `IDX_OE_ES_003` (`org_id`)
+);
+
 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;
 
-千人千卷 todo
+alter table ec_oe_exam_record_data add column random_paper bit(1) not null default 0;
+alter table ec_oe_exam_record_data add column paper_score double not null default 0;
+
 
 
 MongoDB部分