From a7fb0e59f5de00fe18f2b30394323221f8bb3c36 Mon Sep 17 00:00:00 2001 From: HouKunLin Date: Mon, 13 Dec 2021 15:28:39 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8F=91=E5=B8=83=201.4.6=20=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- changelog.md | 6 ++++++ .../system/dict/starter/properties/DictProperties.java | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bd0fd41..66f2c8b 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ plugins { } group = 'com.houkunlin' -version = '1.4.6-BUILD-SNAPSHOT' +version = '1.4.6' sourceCompatibility = '1.8' description = """ 系统数据字典自动翻译成字典文本。可集合系统数据库中存储的用户数据字典,也可使用枚举做系统数据字典,主要用在返回数据给前端时自动把字典值翻译成字典文本信息; diff --git a/changelog.md b/changelog.md index 53b86d0..5b5ff20 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,14 @@ # 更改日志 +## 1.4.6 版本 + +- feat: 增加树形结构数据的字典文本转换支持 + ## 1.4.5.1 版本 - feat(store): 刷新字典时当 DictTypeVo#children = null 时视为删除字典类型对象 +- feat(store): 删除字典类型对象的同时也删除此字典类型下的所有字典值文本信息 +- feat: RefreshDictValueEvent 增加参数设置删除单个字典值文本后字典类型无字典值列表时删除此字典类型信息 ## 1.4.5 版本 diff --git a/src/main/java/com/houkunlin/system/dict/starter/properties/DictProperties.java b/src/main/java/com/houkunlin/system/dict/starter/properties/DictProperties.java index d4ea310..9efebda 100644 --- a/src/main/java/com/houkunlin/system/dict/starter/properties/DictProperties.java +++ b/src/main/java/com/houkunlin/system/dict/starter/properties/DictProperties.java @@ -55,7 +55,8 @@ public class DictProperties { */ private String mqExchangeName = DEFAULT_MQ_EXCHANGE_NAME; /** - * 两次刷新字典事件的时间间隔;两次刷新事件时间间隔小于配置参数将不会刷新 + * 两次刷新字典事件的时间间隔;两次刷新事件时间间隔小于配置参数将不会刷新。 + * 此设置只影响 {@link RefreshDictEvent} 事件 */ private Duration refreshDictInterval = Duration.ofSeconds(60); /**