36 lines
5.2 KiB
SQL
36 lines
5.2 KiB
SQL
create table pay_random_code
|
|
(
|
|
random_code_id varchar(36) not null comment 'id',
|
|
create_by varchar(50) null comment '创建人',
|
|
create_time datetime null comment '创建日期',
|
|
update_by varchar(50) null comment '更新人',
|
|
update_time datetime null comment '更新日期',
|
|
meeting_id varchar(50) null comment '会议id',
|
|
guest_type tinyint(1) null comment '嘉宾类型',
|
|
random_code_count int null comment '随机码个数',
|
|
use_count int default 0 comment '使用个数'
|
|
) comment '随机码表';
|
|
|
|
create table pay_random_code_link
|
|
(
|
|
id varchar(36) not null comment 'id',
|
|
random_code_id varchar(36) not null comment 'random_code_id',
|
|
random_code varchar(6) null comment '随机码',
|
|
use_flag tinyint(1) default 0 comment '是否使用'
|
|
) comment '随机码关联表';
|
|
|
|
INSERT INTO sys_dict ( id, dict_name, dict_code, description, del_flag, create_by, create_time ) VALUES ( '1539122073714880513', '使用状态', 'use_flag', '', 0, 'LKGLZ', '2022-06-21 13:44:32' );
|
|
INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1539122136461668354', '1539122073714880513', '未使用', '0', '', 1, 1, 'LKGLZ', '2022-06-21 13:44:47' );
|
|
INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sort_order, status, create_by, create_time ) VALUES ( '1539122172666900482', '1539122073714880513', '已使用', '1', '', 2, 1, 'LKGLZ', '2022-06-21 13:44:56' );
|
|
|
|
-- 菜单
|
|
INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_route`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1539081064676560898', '1539063506556653570', '编辑', NULL, NULL, NULL, NULL, 2, 'internationalSeminarGenerateCode:edit', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2022-06-21 11:01:35', NULL, NULL, 0, 0, '1', 0);
|
|
INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_route`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1539080877371527169', '1539063506556653570', '导出', NULL, NULL, NULL, NULL, 2, 'internationalSeminarGenerateCode:export', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2022-06-21 11:00:50', NULL, NULL, 0, 0, '1', 0);
|
|
INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_route`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1539080533568622594', '1539063506556653570', '查询', NULL, NULL, NULL, NULL, 2, 'internationalSeminarGenerateCode:search', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2022-06-21 10:59:28', NULL, NULL, 0, 0, '1', 0);
|
|
INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_route`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1539080415918395394', '1539063506556653570', '新增', NULL, NULL, NULL, NULL, 2, 'internationalSeminarGenerateCode:add', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2022-06-21 10:59:00', NULL, NULL, 0, 0, '1', 0);
|
|
INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_route`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1539063506556653570', '1430376424950026242', '国际研讨会随机码设置', '/projectManagement/InternationalSeminarGenerateCode', 'projectManagement/InternationalSeminarGenerateCode', NULL, NULL, 1, NULL, '1', 10.00, 0, NULL, 1, 0, 0, 0, NULL, 'LKGLZ', '2022-06-21 09:51:49', NULL, NULL, 0, 0, '1', 0);
|
|
INSERT INTO `sys_permission` (`id`, `parent_id`, `name`, `url`, `component`, `component_name`, `redirect`, `menu_type`, `perms`, `perms_type`, `sort_no`, `always_show`, `icon`, `is_route`, `is_leaf`, `keep_alive`, `hidden`, `description`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `rule_flag`, `status`, `internal_or_external`) VALUES ('1539055433179959297', '1438072102897672193', '随机码', NULL, NULL, NULL, NULL, 2, 'internalMeeting:randomCode', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2022-06-21 09:19:44', NULL, NULL, 0, 0, '1', 0);
|
|
|
|
-- 新增参展商邀请码
|
|
alter table pay_meeting
|
|
add column exhibitor_invitation_code varchar(50) null comment '参展商邀请码'; |