52 lines
5.1 KiB
SQL
52 lines
5.1 KiB
SQL
# 测试规程
|
|
INSERT INTO laws_tag (id, `table_name`, db_field_name, db_field_en_name, db_field_txt, order_num, db_field_name_old,
|
|
db_is_key, db_is_null, db_type, db_length, field_show_type, field_must_input, is_show_form_create,
|
|
is_query, is_show_form, is_show_list, is_read_only, create_time, create_by, show_area, del_flag,
|
|
is_model)
|
|
VALUES ('1769566843595255809', 'laws_domestic_standard', 'test_procedures', 'Test Procedures', '测试规程', 34,
|
|
'test_procedures', 0, 1, 'String', 1, '8', '0', 1, 0, 1, 0, 0, '2024-03-18 11:29:47', 'admin',
|
|
'1499658880093847553', 0, '1');
|
|
# 其他文件
|
|
INSERT INTO laws_tag (id, `table_name`, db_field_name, db_field_en_name, db_field_txt, order_num, db_field_name_old,
|
|
db_is_key, db_is_null, db_type, db_length, field_show_type, field_must_input, is_show_form_create,
|
|
is_query, is_show_form, is_show_list, is_read_only, create_time, create_by, show_area, del_flag,
|
|
is_model)
|
|
VALUES ('1769563422100156418', 'laws_domestic_standard', 'other_files', 'Other Files', '其他文件', 35, 'other_files', 0,
|
|
1, 'String', 1, '8', '0', 1, 0, 1, 0, 0, '2024-03-18 11:16:11', 'admin', '1499658880093847553', 0, '1');
|
|
# 解读文件
|
|
INSERT INTO laws_tag (id, `table_name`, db_field_name, db_field_en_name, db_field_txt, order_num, db_field_name_old,
|
|
db_is_key, db_is_null, db_type, db_length, field_show_type, field_must_input, is_show_form_create,
|
|
is_query, is_show_form, is_show_list, is_read_only, create_time, create_by, show_area, del_flag,
|
|
is_model)
|
|
VALUES ('1769564500350857218', 'laws_domestic_standard', 'interpret_document', 'Interpretation of documents',
|
|
'解读文件', 36, 'interpret_document', 0, 1, 'String', 1, '8', '0', 1, 0, 1, 0, 0, '2024-03-18 11:20:28',
|
|
'admin', '1499658880093847553', 0, '1');
|
|
|
|
ALTER TABLE `laws_domestic_standard`
|
|
ADD COLUMN `other_files` varchar(1) NULL DEFAULT NULL COMMENT '其他文件' AFTER `is_asms_import`,
|
|
ADD COLUMN `interpret_document` varchar(1) NULL DEFAULT NULL COMMENT '解读文件' AFTER `other_files`,
|
|
ADD COLUMN `test_procedures` varchar(1) NULL DEFAULT NULL COMMENT '测试规程' AFTER `interpret_document`;
|
|
|
|
# 更改级别代号 数据字典
|
|
INSERT INTO sys_dict (id, dict_name, dict_code, description, del_flag, create_by, create_time, is_tag_dict,
|
|
is_read_only)
|
|
VALUES ('1769604615294271489', '更改级别代号', 'change_level_code', '', 0, 'admin', '2024-03-18 13:59:52', 0, 0);
|
|
|
|
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769604926780063746', '1769604615294271489', 'A', '1', '', 1, 1, 'admin', '2024-03-18 14:01:06', 0, 0, 0);
|
|
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605012008321025', '1769604615294271489', 'B', '2', '', 2, 1, 'admin', '2024-03-18 14:01:27', 0, 0, 0);
|
|
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605036586942466', '1769604615294271489', 'C', '3', '', 3, 1, 'admin', '2024-03-18 14:01:33', 0, 0, 0);
|
|
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605071110258690', '1769604615294271489', 'D', '4', '', 4, 1, 'admin', '2024-03-18 14:01:41', 0, 0, 0);
|
|
INSERT INTO sys_dict_item (id, dict_id, item_text, item_value, description, sort_order, `status`, create_by, create_time, is_tag_dict, is_read_only, del_flag) VALUES ('1769605104899571714', '1769604615294271489', 'E', '5', '', 5, 1, 'admin', '2024-03-18 14:01:49', 0, 0, 0);
|
|
|
|
# 消息模板添加跳转相关参数
|
|
ALTER TABLE `sys_sms_template`
|
|
ADD COLUMN `open_type` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '打开方式(组件:component 路由:url)' AFTER `update_by`,
|
|
ADD COLUMN `open_page` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组件/路由 地址' AFTER `open_type`;
|
|
|
|
|
|
-- 2024 0318 菜单:专项项目库 -> 法规评估库
|
|
UPDATE `sys_permission` SET `parent_id` = '1701115046088802305', `name` = '法规评估库', `url` = '/projectLibrary/SpecialProjectLibrary', `component` = 'projectLibrary/specialProjectLibrary/SpecialProjectLibrary', `component_name` = NULL, `redirect` = NULL, `menu_type` = 1, `perms` = NULL, `perms_type` = '1', `sort_no` = 3.00, `always_show` = 0, `icon` = NULL, `is_route` = 1, `is_leaf` = 0, `keep_alive` = 0, `hidden` = 0, `description` = NULL, `create_by` = 'admin', `create_time` = '2023-11-14 17:21:33', `update_by` = NULL, `update_time` = NULL, `del_flag` = 0, `rule_flag` = 0, `status` = '1', `internal_or_external` = 0, `menu_en` = NULL, `app_id` = NULL WHERE `id` = '897f80938bcd2157018bcd22d1770001';
|
|
|
|
|
|
|