Browse Source

更新扫描端脚本

yin 9 months ago
parent
commit
0d92307bea
1 changed files with 29 additions and 0 deletions
  1. 29 0
      install/mysql/upgrade/1.5.1.sql

+ 29 - 0
install/mysql/upgrade/1.5.1.sql

@@ -79,6 +79,35 @@ where p.`code` in('exam_mark-group-add','exam_mark-group-edit','exam_mark-group-
 
 USE college_scan_multi;
 
+TRUNCATE TABLE college_scan_multi.absent;
+TRUNCATE TABLE college_scan_multi.append_scan;
+TRUNCATE TABLE college_scan_multi.baseinfo;
+TRUNCATE TABLE college_scan_multi.baseinfolog;
+TRUNCATE TABLE college_scan_multi.campus;
+TRUNCATE TABLE college_scan_multi.card_defcount;
+TRUNCATE TABLE college_scan_multi.check_omr;
+TRUNCATE TABLE college_scan_multi.check_student;
+TRUNCATE TABLE college_scan_multi.cliprect;
+TRUNCATE TABLE college_scan_multi.config;
+TRUNCATE TABLE college_scan_multi.eb_exam_student;
+TRUNCATE TABLE college_scan_multi.import_sign_page;
+TRUNCATE TABLE college_scan_multi.kslb;
+TRUNCATE TABLE college_scan_multi.objective;
+TRUNCATE TABLE college_scan_multi.ocrdata;
+TRUNCATE TABLE college_scan_multi.ocrdata_history;
+TRUNCATE TABLE college_scan_multi.ocrdata_objective;
+TRUNCATE TABLE college_scan_multi.omr_picture_data;
+TRUNCATE TABLE college_scan_multi.omrresult;
+TRUNCATE TABLE college_scan_multi.registno;
+TRUNCATE TABLE college_scan_multi.registqty;
+TRUNCATE TABLE college_scan_multi.sign_page;
+TRUNCATE TABLE college_scan_multi.subject_code_kgt;
+TRUNCATE TABLE college_scan_multi.task_ans_check_child;
+TRUNCATE TABLE college_scan_multi.task_child;
+TRUNCATE TABLE college_scan_multi.task_master;
+TRUNCATE TABLE college_scan_multi.upload_file_list;
+TRUNCATE TABLE college_scan_multi.verify_check_info;
+
 ALTER TABLE college_scan_multi.`baseinfo` ADD COLUMN `isOnLine`  smallint(1) NULL DEFAULT NULL AFTER `conver`;
 ALTER TABLE college_scan_multi.`check_omr` DROP INDEX `mark_dth`;
 ALTER TABLE college_scan_multi.`check_omr` ADD COLUMN `mark_xth`  longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL AFTER `check_ip`;