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`), UNIQUE KEY `IDX_OE_ES_001` (`exam_id`,`course_id`,`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; 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, `mark_result_id` bigint(20) NOT NULL, `score` double NOT NULL, `main_number` int(11) NOT NULL, `mark_range_id` bigint(20) DEFAULT NULL, `max_score` double NOT NULL, `orders` int(11) NOT NULL, `question_id` varchar(255) NOT NULL, `scoring_type` varchar(255) NOT NULL, `sub_number` int(11) NOT NULL, `work_id` bigint(20) NOT NULL, PRIMARY KEY (`id`), KEY `IDX_M_RRI_001` (`student_paper_id`), KEY `IDX_M_RRI_002` (`mark_result_id`) ); alter table ec_oes_exam_record_data add column random_paper bit(1) not null default 0; alter table ec_oes_exam_record_data add column paper_score double not null default 0; 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部分 新增表 randomPaper 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 }); Redis部分 规范KEY前缀 (线上环境:本次切换至新的 database 1) ***** ***** ***** ***** ***** ***** ***** 二、数据割接部分 ***** ***** ***** ***** ***** ***** ***** paper_score 赋值(待割接2023-05-01至今的) ***** ***** ***** ***** ***** ***** ***** 三、配置文件变更 ***** ***** ***** ***** ***** ***** ***** 暂无 ***** ***** ***** ***** ***** ***** ***** 四、菜单项变更 ***** ***** ***** ***** ***** ***** ***** 题库管理菜单 --> 卷库管理 --> 抽题模板管理【权限编码:extract_paper_template】【权重:0】【属性1:menu】【属性5:/questions/extract_paper_template】 原“成绩统计”改为“成绩明细”: 网考管理菜单 --> 网考管理 --> 统计报表 --> 成绩明细【权限编码:score_detail】【权重:0】【属性1:menu】【属性5:/oe/scoreDetail】 网考管理菜单 --> 网考管理 --> 统计报表 --> 成绩明细-导出按钮【权限编码:score_detail_export】【权重:0】【属性1:PAGE】 -- select * from ec_b_privilege where code in ('score_numerical','SCORE_STATICS_EXPORT'); 已执行 UPDATE ec_b_privilege SET code = 'score_detail', name = '成绩明细', ext5 = '/oe/scoreDetail' WHERE code = 'score_numerical'; 已执行 UPDATE ec_b_privilege SET code = 'score_detail_export', name = '成绩明细-导出按钮' WHERE code = 'SCORE_STATICS_EXPORT'; 新增“成绩统计”: 网考管理菜单 --> 网考管理 --> 统计报表 --> 成绩统计【权限编码:score_statistic】【权重:0】【属性1:menu】【属性5:/oe/scoreStatistic】 配置角色与菜单关系(部分学校已配置) ***** ***** ***** ***** ***** ***** ***** 五、其它变更(如:系统参数、环境、脚本。。。) ***** ***** ***** ***** ***** ***** ***** 移除模块:examcloud-bridge 移除模块:examcloud-logic-marking 移除模块:examcloud-exchange-dock $DISABLED_ORG_ID 改为 $OE:OLD_API_BLACK_LIST (旧API黑名单,仅线上使用) 17351,18734,18735,20934,718,1387,371,1347,137,19950