From 63ba36d5e045bdbe3c8d26240be24b1cc0aa8ac0 Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Thu, 22 Aug 2024 21:38:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B3=95=E8=A7=84=E6=B3=A8=E9=87=8A200?= =?UTF-8?q?,sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/update/标签管理、解读流程_20240822.sql | 14 ++++++++++++++ .../impl/StandardInterpretFlowServiceImpl.java | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 db/update/标签管理、解读流程_20240822.sql diff --git a/db/update/标签管理、解读流程_20240822.sql b/db/update/标签管理、解读流程_20240822.sql new file mode 100644 index 00000000..2278f2b8 --- /dev/null +++ b/db/update/标签管理、解读流程_20240822.sql @@ -0,0 +1,14 @@ +alter table process_standard_interpret_clause + add snow_flake longtext null comment '唯一标识'; + +alter table laws_document_split + modify applicable_components varchar(100) null comment '适用零部件'; +alter table laws_document_split + modify part_name varchar(500) null comment '涉及系统/部件'; + +alter table laws_document_split + modify key_controller varchar(500) null comment '关键控制器'; + +update laws_tag set db_length = 200 where table_name = 'laws_document_split' and db_field_name = 'enterprise_standard' + +update laws_tag set db_length = 200 where table_name = 'laws_document_split' and db_field_name = 'regulatory_notes' diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java index d02cff36..cfbe5ea9 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java @@ -1427,7 +1427,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe textLenghtCheck(changeDescription, TEXT_LENGTH, errorList, "相对上一版变化点说明"); String regulatoryNotes = data.getRegulatoryNotes(); - textLenghtCheck(regulatoryNotes, TEXT_LENGTH, errorList, "法规注释"); + textLenghtCheck(regulatoryNotes, TEXT_LENGTH_2, errorList, "法规注释"); String domainArea = data.getDomainArea(); if (StringUtils.isNotBlank(domainArea)){