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 MongoDB部分 暂无 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 }