|
@@ -1,4 +1,4 @@
|
|
|
-create table gk_user
|
|
|
+create table t_user
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -15,7 +15,7 @@ create table gk_user
|
|
|
) comment '用户表';
|
|
|
|
|
|
|
|
|
-create table gk_student
|
|
|
+create table t_student
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -36,7 +36,7 @@ create table gk_student
|
|
|
) comment '考生表';
|
|
|
|
|
|
|
|
|
-create table gk_category
|
|
|
+create table t_category
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -51,7 +51,7 @@ create table gk_category
|
|
|
) comment '数据分类表';
|
|
|
|
|
|
|
|
|
-create table gk_exam_site
|
|
|
+create table t_exam_site
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -67,7 +67,7 @@ create table gk_exam_site
|
|
|
) comment '考点表';
|
|
|
|
|
|
|
|
|
-create table gk_exam_room
|
|
|
+create table t_exam_room
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -82,7 +82,7 @@ create table gk_exam_room
|
|
|
) comment '考场表';
|
|
|
|
|
|
|
|
|
-create table gk_apply_task
|
|
|
+create table t_apply_task
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -100,7 +100,7 @@ create table gk_apply_task
|
|
|
) comment '预约任务表';
|
|
|
|
|
|
|
|
|
-create table gk_time_period
|
|
|
+create table t_time_period
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -112,7 +112,7 @@ create table gk_time_period
|
|
|
) comment '预约任务的时段表';
|
|
|
|
|
|
|
|
|
-create table gk_student_apply
|
|
|
+create table t_student_apply
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -128,7 +128,7 @@ create table gk_student_apply
|
|
|
) comment '考生预约记录表';
|
|
|
|
|
|
|
|
|
-create table gk_student_import_task
|
|
|
+create table t_student_import_task
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -142,7 +142,7 @@ create table gk_student_import_task
|
|
|
) comment '考生导入任务表';
|
|
|
|
|
|
|
|
|
-create table gk_operate_log
|
|
|
+create table t_operate_log
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -154,7 +154,7 @@ create table gk_operate_log
|
|
|
) comment '操作日志表';
|
|
|
|
|
|
|
|
|
-create table gk_system_property
|
|
|
+create table t_system_property
|
|
|
(
|
|
|
id bigint not null auto_increment,
|
|
|
create_time bigint not null comment '创建时间',
|
|
@@ -166,13 +166,13 @@ create table gk_system_property
|
|
|
|
|
|
|
|
|
|
|
|
-insert into gk_system_property(`key`, value, create_time, update_time)
|
|
|
+insert into t_system_property(`key`, value, create_time, update_time)
|
|
|
values ('ORG_TITLE', '广东开发大学', now(), now());
|
|
|
|
|
|
-insert into gk_system_property(`key`, value, create_time, update_time)
|
|
|
+insert into t_system_property(`key`, value, create_time, update_time)
|
|
|
values ('CATEGORY_LEVEL', '[{"level":1,"title":"城市"},{"level":2,"title":"教学点"}]', now(), now());
|
|
|
|
|
|
-insert into gk_user (role, name, login_name, password, mobile, category_id, org_id, enable, create_time, update_time)
|
|
|
+insert into t_user (role, name, login_name, password, mobile, category_id, org_id, enable, create_time, update_time)
|
|
|
values ('ADMIN', '学校管理员', 'admin', UPPER(SHA2('123456', 256)), null, null, 1, 1, now(), now());
|
|
|
|
|
|
|