From cf0e73c8e3ca734310a5d5656d0173d9f7c11840 Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 18 Sep 2024 10:27:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BD=E6=A0=87=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=A0=87=E5=87=86=E6=9D=A5=E6=BA=90=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/prod/2024-3-18-变更.sql | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/db/prod/2024-3-18-变更.sql b/db/prod/2024-3-18-变更.sql index 74e3f17d..efbc38cb 100644 --- a/db/prod/2024-3-18-变更.sql +++ b/db/prod/2024-3-18-变更.sql @@ -241,7 +241,15 @@ update laws_enterprise_standard set standard_source = '1'; update laws_enterprise_standard set standard_source = '2' where name_code = 'WQ'; -- 2024-09-14 企标复审库批量添加复审 -INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external) VALUES ('8989f8bc91ee5bac0191ee5bace30000', '1701430695719411713', '批量添加复审', 'enterpriseStandardLibrary:recheckPlan:batchStart', '1', 3.0, 2, true, true, false, 'admin', 0, false, '2024-09-14 10:27:51', '1', false, false) +INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external) VALUES ('8989f8bc91ee5bac0191ee5bace30000', '1701430695719411713', '批量添加复审', 'enterpriseStandardLibrary:recheckPlan:batchStart', '1', 3.0, 2, true, true, false, 'admin', 0, false, '2024-09-14 10:27:51', '1', false, false); -- 2024-09-14 标准化活动增加删除权限 -INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external) VALUES ('8989f8bc91efee770191efee77540000', '1697502618994315265', '删除', 'standardActivity:delete', '1', 6.0, 2, true, true, false, 'chh2', 0, false, '2024-09-14 17:47:48', '1', false, false) +INSERT INTO sys_permission (id, parent_id, name, perms, perms_type, sort_no, menu_type, is_leaf, is_route, keep_alive, create_by, del_flag, hidden, create_time, status, always_show, internal_or_external) VALUES ('8989f8bc91efee770191efee77540000', '1697502618994315265', '删除', 'standardActivity:delete', '1', 6.0, 2, true, true, false, 'chh2', 0, false, '2024-09-14 17:47:48', '1', false, false); + +-- 2024-09-18 国标增加标准来源字段 +ALTER TABLE `laws_domestic_standard` + ADD COLUMN `standard_source` varchar(1) NULL COMMENT '标准来源 1系统新增 2ASMS导入'; +update laws_domestic_standard set standard_source = '1'; +update laws_domestic_standard set standard_source = '2' where is_asms_import = '1'; + +INSERT INTO `laws-sinotruk-demo`.`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`, `db_point_length`, `db_default_val`, `dict_field`, `dict_table`, `dict_text`, `field_show_type`, `field_href`, `field_length`, `field_valid_type`, `field_must_input`, `field_extend_json`, `field_default_value`, `is_show_form_create`, `is_query`, `is_show_form`, `is_show_list`, `is_read_only`, `query_mode`, `main_table`, `main_field`, `update_by`, `update_time`, `create_time`, `create_by`, `converter`, `query_def_val`, `query_dict_text`, `query_dict_field`, `query_dict_table`, `query_show_type`, `query_config_flag`, `query_valid_type`, `query_must_input`, `sort_flag`, `show_area`, `is_show_laws_list`, `is_show_search`, `del_flag`, `is_model`, `dict_id`, `home_search_context_order`, `home_search_file_order`, `dict_field_search`, `dict_table_search`, `dict_text_search`, `usable_range`, `tree_first_href`) VALUES ('1836230139970437121', 'laws_domestic_standard', 'standard_source', 'Standard Source', '标准来源', 50, 'standard_source', 0, 1, 'String', 100, NULL, NULL, 'gb_standard_source', NULL, NULL, '10', NULL, NULL, NULL, '0', NULL, NULL, 1, 1, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, '2024-09-18 10:25:56', 'chh2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '1499657602378825729', NULL, 1, 0, '1', '1836228197596643329', NULL, NULL, NULL, NULL, NULL, NULL, NULL);