feat: 增加标准来源字段

This commit is contained in:
2024-09-04 14:05:51 +08:00
parent f3e73283f4
commit 27c99fe0fd
+8 -1
View File
@@ -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有';
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';