From 27c99fe0fd549aa922f29b5ca7aaaeffdcf0f029 Mon Sep 17 00:00:00 2001 From: caihaohan Date: Wed, 4 Sep 2024 14:05:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E6=A0=87=E5=87=86?= =?UTF-8?q?=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 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/db/prod/2024-3-18-变更.sql b/db/prod/2024-3-18-变更.sql index 8d7b1b8f..ad641c05 100644 --- a/db/prod/2024-3-18-变更.sql +++ b/db/prod/2024-3-18-变更.sql @@ -231,4 +231,11 @@ ALTER TABLE `laws_answer_library` -- 2024-09-04 意见增加有无意见字段 ALTER TABLE `process_es_revision_advice` - ADD COLUMN `have_no_opinion` varchar(1) NULL DEFAULT '1' COMMENT '是否有意见 0没有 1有'; \ No newline at end of file + ADD COLUMN `have_no_opinion` varchar(1) NULL DEFAULT '1' COMMENT '是否有意见 0没有 1有'; + +-- 2024-09-04 标准增加标准来源字段 +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`, `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 ('1831209087070380034', 'laws_enterprise_standard', 'standard_source', 'Standard Source', '标准来源', 50, 'standard_source', 0, 1, 'String', 100, NULL, NULL, 'es_source', NULL, NULL, '10', NULL, NULL, NULL, '0', NULL, NULL, 0, 1, 1, 0, 0, NULL, NULL, NULL, NULL, NULL, '2024-09-04 13:54:03', 'admin', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '1694631025451048961', NULL, 1, 0, '3', '1831208618583400450', NULL, NULL, NULL, NULL, NULL, NULL, NULL); +ALTER TABLE `laws_enterprise_standard` + ADD COLUMN `standard_source` varchar(100) NULL DEFAULT '1' COMMENT '标准来源' AFTER `standard_split_status`; +update laws_enterprise_standard set standard_source = '1'; +update laws_enterprise_standard set standard_source = '2' where name_code = 'WQ'; \ No newline at end of file