update sql文件整理,移动到文件夹中

This commit is contained in:
lijiarao
2024-06-12 14:38:26 +08:00
parent f61d86b558
commit 9ea419d366
11 changed files with 0 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
INSERT INTO `sys_permission`
VALUES ('1659118300583227393', '1433250634957398018', '编辑合同编号', '', NULL, NULL, NULL, 2,
'revenueContract:editContractNum', '0', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-05-18 16:46:42', NULL,
NULL, 0, 0, '1', 0);
INSERT INTO `sys_permission`
VALUES ('1658757096501161985', '1435493270476906497', '开票类型', '', NULL, NULL, NULL, 2, 'packProject:changeInvoiceInfo',
'0', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-05-17 16:51:25', 'LKGLZ', '2023-05-18 17:06:58', 0, 0, '1',
0);
+29
View File
@@ -0,0 +1,29 @@
alter table pay_meeting
add is_wasic tinyint null comment '是否WASIC',
add link_topics varchar(50) null comment '关联课题',
add meeting_costs_two_topic decimal(12, 2) null comment '会议费用(2个课题)',
add meeting_costs_three_topic decimal(12, 2) null comment '会议费用(3个及以上)';
update pay_meeting set is_wasic = 0 where meeting_type = 3 and is_wasic is null;
alter table pay_meeting_situation
add choice_topic varchar(50) null comment '选择课题';
INSERT INTO sys_dict ( id, dict_name, dict_code, description, del_flag, create_by, create_time ) VALUES ( '1716348751477309441', '会议关联课题', 'linkTopics', '', 0, 'LKGLZ', '2023-10-23 15:00:05' );
delete from sys_dict_item where dict_id = '1716348751477309441';
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1716348946118180866', '1716348751477309441', '汽车网络安全与数据安全标准合规专题(14:00-18:00)', '1', '', 3.00, 1, 'LKGLZ', '2023-10-23 15:00:52', 'LKGLZ', '2023-11-02 14:21:08');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1716349088112148481', '1716348751477309441', '智能网联汽车标准化领航及标准路线图专题(14:00-18:00)', '2', '', 4.00, 1, 'LKGLZ', '2023-10-23 15:01:25', 'LKGLZ', '2023-11-01 22:31:55');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1716349139207159809', '1716348751477309441', '汽车低碳专题(14:00-18:00)', '3', '', 5.00, 1, 'LKGLZ', '2023-10-23 15:01:38', 'LKGLZ', '2023-11-01 22:32:08');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1716349212045443073', '1716348751477309441', '动力电池安全专题(14:00-18:00)', '4', '', 6.00, 1, 'LKGLZ', '2023-10-23 15:01:55', 'LKGLZ', '2023-11-01 22:32:17');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1716349338696646657', '1716348751477309441', '弱势道路交通参与者(VRU)保护专题(14:00-18:00)', '5', '', 7.00, 1, 'LKGLZ', '2023-10-23 15:02:25', 'LKGLZ', '2023-11-01 22:32:40');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1716349372095889410', '1716348751477309441', '国际发展论坛(09:00-15:00)', '6', '', 2.00, 1, 'LKGLZ', '2023-10-23 15:02:33', 'LKGLZ', '2023-11-02 10:32:06');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1717361269014310914', '1716348751477309441', '114/22焦点论坛(08:00-12:00,全体大会)', '99', '需要默认选中参与的费用', 1.00, 1, 'LKGLZ', '2023-10-26 10:03:28', 'LKGLZ', '2023-11-01 22:31:05');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1717460651105628162', '1716348751477309441', '无人小车专题(14:00-18:00)', '7', '', 8.00, 1, 'LKGLZ', '2023-10-26 16:38:23', 'LKGLZ', '2023-11-01 22:32:53');
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1719724245625143298', '1716348751477309441', '湾区智联试验场参观(8:30-10:30)', '8', '', 8.00, 1, 'LKGLZ', '2023-11-01 22:33:06', NULL, NULL);
INSERT INTO `sys_sms_template` (`id`, `template_name`, `template_code`, `recipient`, `template_type`,
`template_content`, `template_test_json`, `create_time`, `create_by`, `update_time`,
`update_by`)
VALUES ('1719550569588023297', '3', 'QY_24_HYTZ_MEETING_SIGN_UP', 2, '1',
'<p>尊敬的${realname}您好,感谢您注册报名参加2023世界汽车标准创新大会(WASIC),大会将于11月26日-28日在深圳市坪山区格兰云天酒店召开,详情请登陆http://www.catarc.org.cn/wasic.html,期待您的莅临!</p>',
NULL, '2023-11-01 11:40:57', 'admin', NULL, NULL);
alter table pay_meeting_situation
add destination_hotel varchar(50) null comment '目的地';
+85
View File
@@ -0,0 +1,85 @@
ALTER TABLE pay_working_group_subitem
ADD COLUMN label varchar(50) NULL COMMENT '标签';
ALTER TABLE pay_meeting_situation
ADD COLUMN guests_upload_file_flag tinyint NULL COMMENT '嘉宾上传文件标识';
create table pay_meeting_guests_file
(
id varchar(36) not null comment 'id',
meeting_id varchar(50) null comment '会议id',
contacts_id varchar(50) null comment '联系人id',
file_id varchar(50) null comment '文件id',
constraint Index_1
unique (id)
)
comment '会议嘉宾文件表';
alter table pay_meeting_guests_file
add primary key (id);
ALTER TABLE sys_announcement ADD deadline datetime COMMENT '截止时间';
CREATE TABLE sys_notice (
id VARCHAR(50) PRIMARY KEY COMMENT 'id',
notice_name VARCHAR(100) NULL COMMENT '公告名称',
notice_content VARCHAR(300) NULL COMMENT '公告内容',
notice_file VARCHAR(1000) NULL COMMENT '附件',
notice_status INT(1) NULL COMMENT '状态(1-启用,0-禁用)',
create_by VARCHAR(50) NULL COMMENT '创建人',
create_time datetime(0) NULL COMMENT '创建日期',
update_by VARCHAR(50) NULL COMMENT '更新人',
update_time datetime(0) NULL COMMENT '更新日期'
) COMMENT '公告管理表';
ALTER TABLE pay_meeting_situation
ADD COLUMN company_address varchar(100) NULL COMMENT '公司地址',
ADD COLUMN company_phone varchar(200) NULL COMMENT '公司电话',
ADD COLUMN opening_bank varchar(50) NULL COMMENT '开户行',
ADD COLUMN bank_account varchar(50) NULL COMMENT '银行账号',
ADD COLUMN duty_code varchar(50) NULL COMMENT '信用代码',
ADD COLUMN link_bank_number varchar(50) NULL COMMENT '联行号';
ALTER TABLE pay_meeting_situation
ADD COLUMN invoice_project tinyint(4) NULL COMMENT '发票项目';
-- 会议增加按钮 菜单管理模块功能的增加
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 ('1683388669166919681', '1443470901166039042', '资料状态(嘉宾是否可以在企业端上传)', NULL, NULL, NULL, NULL, 2, 'standardsMeetingSituation:guestsUploadFileFlag', '1', 10.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 16:08:29', 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 ('1683387405624451074', '1470954992463327234', '资料状态(嘉宾是否可以在企业端上传)', NULL, NULL, NULL, NULL, 2, 'councilMeetingSituation:guestsUploadFileFlag', '1', 10.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 16:03: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 ('1683387007220097026', '1433322232030777345', '资料状态(嘉宾是否可以在企业端上传)', NULL, NULL, NULL, NULL, 2, 'internalMeetingSituation:guestsUploadFileFlag', '1', 10.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 16:01:53', 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 ('1683386847723298817', '1430828460107730946', '资料状态(嘉宾是否可以在企业端上传)', NULL, NULL, NULL, NULL, 2, 'workGroupMeetingSituation:guestsUploadFileFlag', '1', 10.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 16:01:15', 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 ('1683386691921682434', '1443461591480487938', '资料状态(嘉宾是否可以在企业端上传)', NULL, NULL, NULL, NULL, 2, 'committeeMeetingSituation:guestsUploadFileFlag', '1', 9.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 16:00:38', 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 ('1683386401755537409', '1443460205023940610', '资料状态(嘉宾是否可以在企业端上传)', NULL, NULL, NULL, NULL, 2, 'otherMeetingSituation:guestsUploadFileFlag', '1', 9.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 15:59:29', 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 ('1683385996128591874', '1431167539278086146', '设置标签', '', NULL, NULL, NULL, 2, 'workingGroupMember:setLabel', '1', 11.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-24 15:57:52', 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 ('1679782926731005953', '1679684027710234625', '删除', NULL, NULL, NULL, NULL, 2, 'sysNotice:deleteById', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-14 17:20:33', 'LKGLZ', '2023-07-14 17:25:35', 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 ('1679782858711977986', '1679684027710234625', '编辑', NULL, NULL, NULL, NULL, 2, 'sysNotice:edit', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-14 17:20:17', 'LKGLZ', '2023-07-14 17:25:29', 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 ('1679782784619597825', '1679684027710234625', '新增', NULL, NULL, NULL, NULL, 2, 'sysNotice:add', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-14 17:19:59', 'LKGLZ', '2023-07-14 17:25:23', 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 ('1679782718844522497', '1679684027710234625', '查询', '', NULL, NULL, NULL, 2, 'sysNotice:pageList', '1', 1.00, 0, NULL, 1, 1, 0, 0, NULL, 'LKGLZ', '2023-07-14 17:19:44', 'LKGLZ', '2023-07-14 17:25:16', 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 ('1679684027710234625', '5c8042bd6c601270b2bbd9b20bccc68b', '公告管理', '/isystem/noticeList', 'modules/notice/SysNoticeList', NULL, NULL, 1, NULL, '1', 3.00, 0, NULL, 1, 0, 0, 0, NULL, 'LKGLZ', '2023-07-14 10:47:34', NULL, NULL, 0, 0, '1', 0);
ALTER TABLE pay_meeting ADD file_ids varchar(1000) COMMENT '会议文件';
INSERT INTO `sys_dict` (`id`, `dict_name`, `dict_code`, `description`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `type`) VALUES ('1683411632557694977', '缴费类别', 'invoice_project', '', 0, 'LKGLZ', '2023-07-24 17:39:44', NULL, NULL, 0);
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1683411695635832833', '1683411632557694977', '会议费', '1', '', 1.00, 1, 'LKGLZ', '2023-07-24 17:39:59', NULL, NULL);
INSERT INTO `sys_dict_item` (`id`, `dict_id`, `item_text`, `item_value`, `description`, `sort_order`, `status`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES ('1683411736203141122', '1683411632557694977', '培训费', '2', '', 2.00, 1, 'LKGLZ', '2023-07-24 17:40:09', NULL, NULL);
create table pay_meeting_remind_mail_record
(
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',
subitem_id varchar(50) null comment '成员id',
contact_id varchar(50) null comment '联系人id',
constraint id
unique (id)
)
comment '会议提醒邮件记录表';
alter table pay_meeting_remind_mail_record
add primary key (id);
+8
View File
@@ -0,0 +1,8 @@
alter table sys_permission
add external_terminal_show tinyint null comment '是否外网展示';
update sys_permission set external_terminal_show = 1;
update sys_permission set external_terminal_show = 0 where id in (select t.id from (SELECT id FROM `sys_permission` WHERE `parent_id` = '1437320526513905666' AND `id` <> '1437597826593595394') t);
update sys_permission set external_terminal_show = 0 where parent_id in (select t.id from (SELECT id FROM `sys_permission` WHERE `parent_id` = '1437320526513905666' AND `id` <> '1437597826593595394') t);
update sys_permission set external_terminal_show = 0 where id = 'd7d6e2e4e2934f2c9385a623fd98c6f3';
update sys_permission set external_terminal_show = 0 where parent_id in (select t.id from (SELECT id FROM `sys_permission` WHERE `parent_id` = 'd7d6e2e4e2934f2c9385a623fd98c6f3') t);
update sys_permission set external_terminal_show = 0 where id in (select t.id from (SELECT * FROM `sys_permission` WHERE `parent_id` = 'f780d0d3083d849ccbdb1b1baee4911d' or `id` = 'f780d0d3083d849ccbdb1b1baee4911d') t);