xiatian hai 1 mes
pai
achega
006748d4de
Modificáronse 1 ficheiros con 22 adicións e 147 borrados
  1. 22 147
      upgrades/upgrade-202405/20240528至现在-待升级内容.txt

+ 22 - 147
upgrades/upgrade-202405/20240528至现在-待升级内容.txt

@@ -1,5 +1,14 @@
+待发布项目:
+examcloud-oe-admin
+examcloud-admin-web
+examcloud-components
+examcloud-core-examwork
+examcloud-core-marking
+examcloud-core-question
+examcloud-task
+examcloud-rpc
 
-release_v5.0.4
+release_v5.0.6
 
 ***** ***** ***** ***** ***** ***** *****
 一、数据库变更(!!!任何!!!表或字段的变化罗列此处)
@@ -7,58 +16,18 @@ release_v5.0.4
 
 MySql部分
 
-CREATE TABLE ec_oe_reexamine_log (
-  id bigint(20) NOT NULL AUTO_INCREMENT,
-  creation_time datetime NOT NULL,
-  update_time datetime NOT NULL,
-  exam_id bigint(20) NOT NULL,
-  exam_student_id bigint(20) NOT NULL,
-  reexamine_type varchar(50) DEFAULT NULL,
-  reexamine_detail varchar(200) DEFAULT NULL,
-  operate_user_id bigint(20) DEFAULT NULL,
-  operate_user_name varchar(50) DEFAULT NULL,
-  PRIMARY KEY (id),
-  KEY IDX_01 (exam_id),
-  KEY IDX_02 (exam_student_id)
-);
-
-DROP TABLE IF EXISTS `ec_e_org_ip`;
-CREATE TABLE `ec_e_org_ip` (
-  `id` bigint(20) NOT NULL AUTO_INCREMENT,
-  `root_org_id` bigint(20) NOT NULL,
-  `org_id` bigint(20) NOT NULL,
-  `ip` varchar(255) NOT NULL,
-  `creation_by` bigint(20) NOT NULL,
-  `creation_time` datetime NOT NULL,
-  `update_by` bigint(20) NOT NULL,
-  `update_time` datetime NOT NULL,
-  `remark` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`id`),
-  UNIQUE KEY `IDX_E_ORG_IP_01` (`root_org_id`,`org_id`,`ip`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-
-ALTER TABLE ec_m_mark_work ADD org_enabled  bit(1) NOT NULL DEFAULT 0;
-ALTER TABLE ec_m_student_paper ADD org_id  bigint(20) DEFAULT NULL;
-ALTER TABLE ec_m_student_paper ADD exam_id  bigint(20) DEFAULT NULL;
-ALTER TABLE ec_m_student_paper ADD sum_score  double DEFAULT NULL;
-ALTER TABLE ec_m_student_paper ADD INDEX IDX_M_S_P_007(`work_id`,`sum_score`);
-
-ALTER TABLE old_ec_m_mark_work ADD org_enabled  bit(1) NOT NULL DEFAULT 0;
-ALTER TABLE old_ec_m_student_paper ADD org_id  bigint(20) DEFAULT NULL;
-ALTER TABLE old_ec_m_student_paper ADD exam_id  bigint(20) DEFAULT NULL;
-ALTER TABLE old_ec_m_student_paper ADD sum_score  double DEFAULT NULL;
-ALTER TABLE old_ec_m_student_paper ADD INDEX IDX_M_S_P_007(`work_id`,`sum_score`);
-
-ALTER TABLE ec_b_student MODIFY COLUMN identity_number varchar(20) NOT NULL;
-ALTER TABLE ec_e_exam_student MODIFY COLUMN identity_number varchar(20) NOT NULL;
-ALTER TABLE ec_t_exam_student_tmp MODIFY COLUMN identity_number varchar(20) NOT NULL;
-
-app_device_record renameTo ec_app_device_record
-
-drop tables:
-ec_exam_site_batch
-ec_test_offline_file
-test2022
+alter table ec_m_mark_work_exam add column data_end bit(1) not null default 1;
+
+alter table ec_m_mark_range add column course_id bigint(20) default null ;
+alter table ec_m_mark_range add column random_paper bit(1) default null ;
+
+
+update ec_m_mark_range t 
+INNER JOIN (select distinct f.base_paper_id,f.course_id,f.random_paper from ec_m_student_paper f ) tm 
+on t.base_paper_id=tm.base_paper_id
+set t.course_id=tm.course_id,t.random_paper=tm.random_paper;
+
+
 
 MongoDB部分
 暂无
@@ -70,113 +39,19 @@ Redis部分
 二、数据割接部分
 ***** ***** ***** ***** ***** ***** *****
 修复错误底照路径规则:
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=0 and photo_path like '0/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1 and photo_path like '1/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=135 and photo_path like '135/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=137 and photo_path like '137/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=302 and photo_path like '302/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=303 and photo_path like '303/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=371 and photo_path like '371/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=718 and photo_path like '718/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1226 and photo_path like '1226/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1347 and photo_path like '1347/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1348 and photo_path like '1348/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1350 and photo_path like '1350/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1384 and photo_path like '1384/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1385 and photo_path like '1385/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1387 and photo_path like '1387/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1388 and photo_path like '1388/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1627 and photo_path like '1627/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=1769 and photo_path like '1769/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=16198 and photo_path like '16198/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=16801 and photo_path like '16801/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=16816 and photo_path like '16816/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=16915 and photo_path like '16915/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=16923 and photo_path like '16923/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=16924 and photo_path like '16924/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=17068 and photo_path like '17068/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=17141 and photo_path like '17141/%';
-
-update ec_b_student set photo_path = concat('/student_base_photo/',photo_path)
-where root_org_id=17172 and photo_path like '17172/%';
 
 ***** ***** ***** ***** ***** ***** *****
 三、配置文件变更
 ***** ***** ***** ***** ***** ***** *****
 移除配置项:
-$upyun.site.*
-$aliyun.site.*
 
 新增配置项:
-examcloud.fss.*
 
 ***** ***** ***** ***** ***** ***** *****
 四、菜单项变更
 ***** ***** ***** ***** ***** ***** *****
-考务管理菜单 --> 考试管理 --> 考点IP登记(ip_config 属性1:menu 属性5:/examwork/ip-config)
-考务管理菜单 --> 考试管理 --> 考点IP登记 --> 同步到考试(ORG_IP_CONFIG_SYNC 属性1:button)
-网考管理菜单 --> 网考管理 --> 重考设置记录(reexamine_record 属性1:menu 属性5:/oe/reexamine-record 权重:5)
 
 ***** ***** ***** ***** ***** ***** *****
 五、其它变更(如:系统参数、环境、脚本。。。)
 ***** ***** ***** ***** ***** ***** *****
 
-人脸抓拍比对任务调度参数支持:
-{
-  "maxThreadNum": 2,
-  "maxErrorNum": 10,
-  "useBaiduApi": true,
-  "useLocalBaiduApiForFaceCompare": true,
-  "useLocalBaiduApiForFaceLiveness": true
-}