20230420至现在-待升级内容.txt 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. release_v5.0.1
  2. ***** ***** ***** ***** ***** ***** *****
  3. 一、数据库变更(!!!任何!!!表或字段的变化罗列此处)
  4. ***** ***** ***** ***** ***** ***** *****
  5. MySql部分
  6. CREATE TABLE ec_oe_exam_statistic
  7. (
  8. id BIGINT AUTO_INCREMENT NOT NULL,
  9. update_time datetime NOT NULL,
  10. creation_time datetime NOT NULL,
  11. exam_id BIGINT NOT NULL,
  12. course_id BIGINT NOT NULL,
  13. org_id BIGINT NOT NULL,
  14. all_count INT NOT NULL,
  15. finish_count INT NOT NULL,
  16. pass_score_count INT NOT NULL,
  17. good_score_count INT NOT NULL,
  18. PRIMARY KEY (`id`),
  19. UNIQUE KEY `IDX_OE_ES_001` (`exam_id`,`course_id`,`org_id`)
  20. );
  21. alter table ec_e_exam_course_relation add column pass_score_line int(11) not null default 60;
  22. alter table ec_e_exam_course_relation add column good_score_line int(11) not null default 90;
  23. alter table ec_e_exam add column call_type varchar(50) not null default 'WHOLE_SET';
  24. alter table ec_m_student_paper add column total_score double;
  25. alter table ec_m_student_paper add column subjective_score double;
  26. alter table ec_m_mark_work add column call_type varchar(50) not null default 'WHOLE_SET';
  27. CREATE TABLE `ec_m_random_result_item` (
  28. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  29. `student_paper_id` bigint(20) NOT NULL,
  30. `mark_result_id` bigint(20) NOT NULL,
  31. `score` double NOT NULL,
  32. `main_number` int(11) NOT NULL,
  33. `mark_range_id` bigint(20) DEFAULT NULL,
  34. `max_score` double NOT NULL,
  35. `orders` int(11) NOT NULL,
  36. `question_id` varchar(255) NOT NULL,
  37. `scoring_type` varchar(255) NOT NULL,
  38. `sub_number` int(11) NOT NULL,
  39. `work_id` bigint(20) NOT NULL,
  40. PRIMARY KEY (`id`),
  41. KEY `IDX_M_RRI_001` (`student_paper_id`),
  42. KEY `IDX_M_RRI_002` (`mark_result_id`)
  43. );
  44. alter table ec_oes_exam_record_data add column random_paper bit(1) not null default 0;
  45. alter table ec_oes_exam_record_data add column paper_score double not null default 0;
  46. alter table ec_oe_exam_record_data add column random_paper bit(1) not null default 0;
  47. alter table ec_oe_exam_record_data add column paper_score double not null default 0;
  48. MongoDB部分
  49. 新增表
  50. randomPaper
  51. randomPaperQuestion
  52. 新增字段
  53. 表extractConfig 新增字段 randomPaperId、playTime
  54. 新建索引
  55. db.getCollection('randomPaper').createIndex({courseId:1},{ name: "INDEX_courseId", unique: false });
  56. db.getCollection('randomPaper').createIndex({paperStructId:1},{ name: "INDEX_paperStructId", unique: false });
  57. db.getCollection('randomPaperQuestion').createIndex({randomPaperId:1},{ name: "INDEX_randomPaperId", unique: false });
  58. db.getCollection('randomPaperQuestion').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
  59. db.getCollection('question').createIndex({"orgId":1,"course.code":1},{ name: "INDEX_orgCourse", unique: false });
  60. db.getCollection('questionAudio').createIndex({questionId:1},{ name: "INDEX_questionId", unique: false });
  61. Redis部分
  62. 规范KEY前缀 (线上环境:本次切换至新的 database 1)
  63. ***** ***** ***** ***** ***** ***** *****
  64. 二、数据割接部分
  65. ***** ***** ***** ***** ***** ***** *****
  66. paper_score 赋值(待割接2023-05-01至今的)
  67. ***** ***** ***** ***** ***** ***** *****
  68. 三、配置文件变更
  69. ***** ***** ***** ***** ***** ***** *****
  70. 暂无
  71. ***** ***** ***** ***** ***** ***** *****
  72. 四、菜单项变更
  73. ***** ***** ***** ***** ***** ***** *****
  74. 题库管理菜单 --> 卷库管理 --> 抽题模板管理【权限编码:extract_paper_template】【权重:0】【属性1:menu】【属性5:/questions/extract_paper_template】
  75. 原“成绩统计”改为“成绩明细”:
  76. 网考管理菜单 --> 网考管理 --> 统计报表 --> 成绩明细【权限编码:score_detail】【权重:0】【属性1:menu】【属性5:/oe/scoreDetail】
  77. 网考管理菜单 --> 网考管理 --> 统计报表 --> 成绩明细-导出按钮【权限编码:score_detail_export】【权重:0】【属性1:PAGE】
  78. -- select * from ec_b_privilege where code in ('score_numerical','SCORE_STATICS_EXPORT');
  79. 已执行 UPDATE ec_b_privilege SET code = 'score_detail', name = '成绩明细', ext5 = '/oe/scoreDetail' WHERE code = 'score_numerical';
  80. 已执行 UPDATE ec_b_privilege SET code = 'score_detail_export', name = '成绩明细-导出按钮' WHERE code = 'SCORE_STATICS_EXPORT';
  81. 新增“成绩统计”:
  82. 网考管理菜单 --> 网考管理 --> 统计报表 --> 成绩统计【权限编码:score_statistic】【权重:0】【属性1:menu】【属性5:/oe/scoreStatistic】
  83. 配置角色与菜单关系(部分学校已配置)
  84. ***** ***** ***** ***** ***** ***** *****
  85. 五、其它变更(如:系统参数、环境、脚本。。。)
  86. ***** ***** ***** ***** ***** ***** *****
  87. 移除模块:examcloud-bridge
  88. 移除模块:examcloud-logic-marking
  89. 移除模块:examcloud-exchange-dock
  90. $DISABLED_ORG_ID 改为 $OE:OLD_API_BLACK_LIST (旧API黑名单,仅线上使用)
  91. 17351,18734,18735,20934,718,1387,371,1347,137,19950