From c8856778599969a0810872bcf04f5e6e3f39c428 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=B7=A1=E8=93=9D=E8=89=B2=E7=9A=84=E5=BF=A7=E4=BC=A4?=
<1195465270@qq.com>
Date: Sun, 18 Dec 2022 18:48:25 +0800
Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=B3=BB=E7=BB=9F=E5=8D=87=E7=BA=A7?=
=?UTF-8?q?=E5=88=B04.7.6=202=E3=80=81=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?=
=?UTF-8?q?=E9=94=AE=E5=90=8D=E6=97=B6=E7=A7=BB=E9=99=A4=E5=89=8D=E7=BC=93?=
=?UTF-8?q?=E5=AD=98=E9=85=8D=E7=BD=AE=203=E3=80=81=E5=85=B6=E5=AE=83?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 4 ++--
zhglxt-activiti/pom.xml | 2 +-
zhglxt-cms/pom.xml | 2 +-
zhglxt-common/pom.xml | 2 +-
.../main/java/com/zhglxt/common/core/text/Convert.java | 2 +-
zhglxt-demo/pom.xml | 2 +-
zhglxt-file-manager/pom.xml | 2 +-
zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml | 2 +-
.../zhglxt-file-CKFinderPlugin-FileEditor/pom.xml | 2 +-
.../zhglxt-file-CKFinderPlugin-ImageResize/pom.xml | 2 +-
.../zhglxt-file-CKFinderPlugin-Watermark/pom.xml | 2 +-
zhglxt-framework/pom.xml | 2 +-
zhglxt-generator/pom.xml | 2 +-
zhglxt-oa/pom.xml | 2 +-
zhglxt-quartz/pom.xml | 2 +-
zhglxt-system/pom.xml | 2 +-
.../java/com/zhglxt/system/mapper/SysConfigMapper.java | 8 ++++++++
.../main/java/com/zhglxt/system/mapper/SysDeptMapper.java | 2 +-
.../java/com/zhglxt/system/service/ISysDeptService.java | 2 +-
.../zhglxt/system/service/impl/SysConfigServiceImpl.java | 6 ++++++
.../zhglxt/system/service/impl/SysDeptServiceImpl.java | 2 +-
.../src/main/resources/mapper/system/SysConfigMapper.xml | 5 +++++
zhglxt-web/pom.xml | 2 +-
.../web/controller/system/SysProfileController.java | 5 +----
zhglxt-web/src/main/resources/application.yml | 2 +-
.../main/resources/templates/demo/form/summernote.html | 4 ++--
.../src/main/resources/templates/demo/form/wizard.html | 2 +-
zhglxt-web/src/main/resources/templates/main.html | 3 ++-
28 files changed, 47 insertions(+), 30 deletions(-)
diff --git a/pom.xml b/pom.xml
index d593c2be..54fb260a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
pom
zhglxt
@@ -15,7 +15,7 @@
2019
- 4.7.5
+ 4.7.6
UTF-8
UTF-8
1.8
diff --git a/zhglxt-activiti/pom.xml b/zhglxt-activiti/pom.xml
index 7cf65f82..8176604c 100644
--- a/zhglxt-activiti/pom.xml
+++ b/zhglxt-activiti/pom.xml
@@ -6,7 +6,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
zhglxt-activiti
diff --git a/zhglxt-cms/pom.xml b/zhglxt-cms/pom.xml
index 1074aae1..436d3872 100644
--- a/zhglxt-cms/pom.xml
+++ b/zhglxt-cms/pom.xml
@@ -5,7 +5,7 @@
zhglxt
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-common/pom.xml b/zhglxt-common/pom.xml
index 4c2300bc..9983e109 100644
--- a/zhglxt-common/pom.xml
+++ b/zhglxt-common/pom.xml
@@ -6,7 +6,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
zhglxt-common
diff --git a/zhglxt-common/src/main/java/com/zhglxt/common/core/text/Convert.java b/zhglxt-common/src/main/java/com/zhglxt/common/core/text/Convert.java
index 20f693eb..108cc878 100644
--- a/zhglxt-common/src/main/java/com/zhglxt/common/core/text/Convert.java
+++ b/zhglxt-common/src/main/java/com/zhglxt/common/core/text/Convert.java
@@ -666,7 +666,7 @@ public static BigDecimal toBigDecimal(Object value, BigDecimal defaultValue) {
return new BigDecimal((Long) value);
}
if (value instanceof Double) {
- return new BigDecimal((Double) value);
+ return BigDecimal.valueOf((Double) value);
}
if (value instanceof Integer) {
return new BigDecimal((Integer) value);
diff --git a/zhglxt-demo/pom.xml b/zhglxt-demo/pom.xml
index 43947fa4..320fe6cd 100644
--- a/zhglxt-demo/pom.xml
+++ b/zhglxt-demo/pom.xml
@@ -5,7 +5,7 @@
zhglxt
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-file-manager/pom.xml b/zhglxt-file-manager/pom.xml
index 51539edb..30f733ff 100644
--- a/zhglxt-file-manager/pom.xml
+++ b/zhglxt-file-manager/pom.xml
@@ -5,7 +5,7 @@
zhglxt
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml b/zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml
index 0bf9818f..261a7424 100644
--- a/zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml
+++ b/zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml
@@ -5,7 +5,7 @@
zhglxt-file-manager
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-FileEditor/pom.xml b/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-FileEditor/pom.xml
index b5d9353a..441ea195 100644
--- a/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-FileEditor/pom.xml
+++ b/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-FileEditor/pom.xml
@@ -5,7 +5,7 @@
zhglxt-file-manager
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-ImageResize/pom.xml b/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-ImageResize/pom.xml
index 25ed90ad..1f84f5d3 100644
--- a/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-ImageResize/pom.xml
+++ b/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-ImageResize/pom.xml
@@ -5,7 +5,7 @@
zhglxt-file-manager
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-Watermark/pom.xml b/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-Watermark/pom.xml
index c3c2f2ce..18f545c8 100644
--- a/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-Watermark/pom.xml
+++ b/zhglxt-file-manager/zhglxt-file-CKFinderPlugin-Watermark/pom.xml
@@ -5,7 +5,7 @@
zhglxt-file-manager
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-framework/pom.xml b/zhglxt-framework/pom.xml
index a6fbd046..d817bc6b 100644
--- a/zhglxt-framework/pom.xml
+++ b/zhglxt-framework/pom.xml
@@ -6,7 +6,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
zhglxt-framework
diff --git a/zhglxt-generator/pom.xml b/zhglxt-generator/pom.xml
index b544d186..144ae76a 100644
--- a/zhglxt-generator/pom.xml
+++ b/zhglxt-generator/pom.xml
@@ -5,7 +5,7 @@
zhglxt
com.zhglxt
- 4.7.5
+ 4.7.6
4.0.0
diff --git a/zhglxt-oa/pom.xml b/zhglxt-oa/pom.xml
index 3d797caa..458ea109 100644
--- a/zhglxt-oa/pom.xml
+++ b/zhglxt-oa/pom.xml
@@ -6,7 +6,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
zhglxt-oa
diff --git a/zhglxt-quartz/pom.xml b/zhglxt-quartz/pom.xml
index 3b419232..d1914316 100644
--- a/zhglxt-quartz/pom.xml
+++ b/zhglxt-quartz/pom.xml
@@ -6,7 +6,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
zhglxt-quartz
diff --git a/zhglxt-system/pom.xml b/zhglxt-system/pom.xml
index 7195a86e..2bee7871 100644
--- a/zhglxt-system/pom.xml
+++ b/zhglxt-system/pom.xml
@@ -6,7 +6,7 @@
com.zhglxt
zhglxt
- 4.7.5
+ 4.7.6
zhglxt-system
diff --git a/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysConfigMapper.java b/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysConfigMapper.java
index 9db763a1..9f34c4d5 100644
--- a/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysConfigMapper.java
+++ b/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysConfigMapper.java
@@ -22,6 +22,14 @@ public interface SysConfigMapper {
*/
public SysConfig selectConfig(SysConfig config);
+ /**
+ * 通过ID查询配置
+ *
+ * @param configId 参数ID
+ * @return 参数配置信息
+ */
+ public SysConfig selectConfigById(String configId);
+
/**
* 查询参数配置列表
*
diff --git a/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysDeptMapper.java b/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysDeptMapper.java
index 70c2a815..95fc4819 100644
--- a/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysDeptMapper.java
+++ b/zhglxt-system/src/main/java/com/zhglxt/system/mapper/SysDeptMapper.java
@@ -17,7 +17,7 @@
@Component
public interface SysDeptMapper {
/**
- * 查询部门人数
+ * 查询下级部门数量
*
* @param dept 部门信息
* @return 结果
diff --git a/zhglxt-system/src/main/java/com/zhglxt/system/service/ISysDeptService.java b/zhglxt-system/src/main/java/com/zhglxt/system/service/ISysDeptService.java
index 08ec1b0b..10b96ec8 100644
--- a/zhglxt-system/src/main/java/com/zhglxt/system/service/ISysDeptService.java
+++ b/zhglxt-system/src/main/java/com/zhglxt/system/service/ISysDeptService.java
@@ -45,7 +45,7 @@ public interface ISysDeptService {
public List roleDeptTreeData(SysRole role);
/**
- * 查询部门人数
+ * 根据父部门ID查询下级部门数量
*
* @param parentId 父部门ID
* @return 结果
diff --git a/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysConfigServiceImpl.java b/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysConfigServiceImpl.java
index 6091c36f..7444623b 100644
--- a/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysConfigServiceImpl.java
+++ b/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysConfigServiceImpl.java
@@ -102,6 +102,12 @@ public int insertConfig(SysConfig config) {
*/
@Override
public int updateConfig(SysConfig config) {
+ SysConfig temp = configMapper.selectConfigById(config.getConfigId());
+ if (!StringUtils.equals(temp.getConfigKey(), config.getConfigKey()))
+ {
+ CacheUtils.remove(getCacheName(), getCacheKey(temp.getConfigKey()));
+ }
+
int row = configMapper.updateConfig(config);
if (row > 0) {
CacheUtils.put(getCacheName(), getCacheKey(config.getConfigKey()), config.getConfigValue());
diff --git a/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysDeptServiceImpl.java b/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysDeptServiceImpl.java
index 3e40f5c5..428ad756 100644
--- a/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysDeptServiceImpl.java
+++ b/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysDeptServiceImpl.java
@@ -138,7 +138,7 @@ public List initZtree(List deptList, List roleDeptList)
}
/**
- * 查询部门人数
+ * 根据父部门ID查询下级部门数量
*
* @param parentId 部门ID
* @return 结果
diff --git a/zhglxt-system/src/main/resources/mapper/system/SysConfigMapper.xml b/zhglxt-system/src/main/resources/mapper/system/SysConfigMapper.xml
index 2d69354c..1c54a8ef 100644
--- a/zhglxt-system/src/main/resources/mapper/system/SysConfigMapper.xml
+++ b/zhglxt-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -59,6 +59,11 @@
+
+
- 当前版本:v4.7.5
+ 当前版本:v4.7.6
免费开源
@@ -60,7 +60,7 @@
你好,
H+是一个完全响应式,基于Bootstrap3.3.7最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术,她提供了诸多的强大的可以重新组合的UI组件,并集成了最新的jQuery版本(v2.1.1),当然,也集成了很多功能强大,用途广泛的就jQuery插件,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。
- 当前版本:v4.7.5
+ 当前版本:v4.7.6
开源免费
diff --git a/zhglxt-web/src/main/resources/templates/demo/form/wizard.html b/zhglxt-web/src/main/resources/templates/demo/form/wizard.html
index 0fdd395c..d0b5ee87 100644
--- a/zhglxt-web/src/main/resources/templates/demo/form/wizard.html
+++ b/zhglxt-web/src/main/resources/templates/demo/form/wizard.html
@@ -181,7 +181,7 @@
测试多行显示
enableURLhash: true, // Enable selection of the step based on url hash
transition: {
animation: 'none', // Effect on navigation, none/fade/slide-horizontal/slide-vertical/slide-swing
- speed: '400', // Transion animation speed
+ speed: '400', // Transition animation speed
easing:'' // Transition animation easing. Not supported without a jQuery easing plugin
},
toolbarSettings: {
diff --git a/zhglxt-web/src/main/resources/templates/main.html b/zhglxt-web/src/main/resources/templates/main.html
index e464d0e3..5365b869 100644
--- a/zhglxt-web/src/main/resources/templates/main.html
+++ b/zhglxt-web/src/main/resources/templates/main.html
@@ -56,12 +56,13 @@ 更新日志 单击标题进行 (
+ - 修改参数键名时移除前缓存配置
- 升级druid到最新版本1.2.15
- 升级kaptcha到最新版2.3.3
- 升级oshi到最新版本6.3.2