|
@@ -105,8 +105,8 @@ CREATE TABLE `t_e_region_summary` (
|
|
|
KEY `t_e_region_summary_country_IDX` (`country`,`province`) USING BTREE
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='地区统计表';
|
|
|
|
|
|
-ALTER TABLE t_e_exam_student1 DROP INDEX roomcode_examid;
|
|
|
-ALTER TABLE t_e_exam_student1 DROP INDEX student_id;
|
|
|
+ALTER TABLE t_e_exam_student DROP INDEX roomcode_examid;
|
|
|
+ALTER TABLE t_e_exam_student DROP INDEX student_id;
|
|
|
|
|
|
CREATE INDEX t_e_exam_student_exam_id_IDX USING BTREE ON t_e_exam_student (exam_id,exam_activity_id,room_code);
|
|
|
CREATE INDEX t_e_exam_student_student_id_IDX USING BTREE ON t_e_exam_student (student_id,exam_activity_id,enable);
|
|
@@ -123,6 +123,14 @@ INSERT INTO sys_config
|
|
|
(id, org_id, config_key, config_name, config_value, enable, create_id, create_time, update_id, update_time, remark, sort, editor)
|
|
|
VALUES(33, NULL, 'waiting.exam.day', '待考列表天数', '3', 1, 1, NULL, NULL, NULL, NULL, 1, 0);
|
|
|
|
|
|
+INSERT INTO t_b_privilege
|
|
|
+(id, name, url, `type`, parent_id, `sequence`, remark, create_time)
|
|
|
+VALUES(209, '监考编辑接口', '/api/admin/invigilateUser/edit', 'LINK', 9, 2, NULL, 1600932652000);
|
|
|
+
|
|
|
+INSERT INTO t_b_role_privilege
|
|
|
+(id, role_code, privilege_id)
|
|
|
+VALUES(259, 'ADMIN', 209);
|
|
|
+
|
|
|
/*删除进度查询菜单*/
|
|
|
INSERT INTO t_b_role_privilege
|
|
|
(id, role_code, privilege_id)
|