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)){