deason 9 luni în urmă
părinte
comite
713ecf8374
1 a modificat fișierele cu 92 adăugiri și 1 ștergeri
  1. 92 1
      upgrade-202405/20240528至现在-待升级内容.txt

+ 92 - 1
upgrade-202405/20240528至现在-待升级内容.txt

@@ -49,6 +49,17 @@ 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部分
 暂无
 
@@ -58,7 +69,87 @@ 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/%';
 
 ***** ***** ***** ***** ***** ***** *****
 三、配置文件变更