From 712a4b392db68b2d9ca882f91496037337066140 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: Sat, 15 Apr 2023 11:13:19 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=B3=BB=E7=BB=9F=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=88=B0v4.7.7=202=E3=80=81=E5=8D=87?= =?UTF-8?q?=E7=BA=A7oshi=E5=88=B0=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC6.4.1?= =?UTF-8?q?=203=E3=80=81=E5=85=B6=E5=AE=83=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 6 +- zhglxt-activiti/pom.xml | 2 +- zhglxt-cms/pom.xml | 2 +- .../java/com/zhglxt/cms/entity/Article.java | 115 ++++++++++++++---- zhglxt-common/pom.xml | 2 +- .../com/zhglxt/common/utils/StringUtils.java | 2 +- zhglxt-demo/pom.xml | 2 +- zhglxt-file-manager/pom.xml | 2 +- .../zhglxt-file-CKFinder/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- zhglxt-framework/pom.xml | 2 +- zhglxt-generator/pom.xml | 2 +- zhglxt-oa/pom.xml | 2 +- zhglxt-quartz/pom.xml | 2 +- .../com/zhglxt/quartz/util/JobInvokeUtil.java | 2 +- zhglxt-system/pom.xml | 2 +- .../service/impl/SysUserServiceImpl.java | 6 +- zhglxt-web/pom.xml | 2 +- zhglxt-web/src/main/resources/application.yml | 2 +- .../templates/demo/form/summernote.html | 4 +- .../src/main/resources/templates/main.html | 17 ++- 23 files changed, 133 insertions(+), 51 deletions(-) diff --git a/pom.xml b/pom.xml index 56c3632..4155cd0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 pom zhglxt @@ -15,7 +15,7 @@ 2019 - 4.7.6 + 4.7.7 UTF-8 UTF-8 1.8 @@ -30,7 +30,7 @@ 2.2.0 1.4.3 1.2.83 - 6.3.2 + 6.4.1 2.11.0 4.1.2 2.3 diff --git a/zhglxt-activiti/pom.xml b/zhglxt-activiti/pom.xml index 8176604..6451117 100644 --- a/zhglxt-activiti/pom.xml +++ b/zhglxt-activiti/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-activiti diff --git a/zhglxt-cms/pom.xml b/zhglxt-cms/pom.xml index 436d387..e88b0fe 100644 --- a/zhglxt-cms/pom.xml +++ b/zhglxt-cms/pom.xml @@ -5,7 +5,7 @@ zhglxt com.zhglxt - 4.7.6 + 4.7.7 4.0.0 diff --git a/zhglxt-cms/src/main/java/com/zhglxt/cms/entity/Article.java b/zhglxt-cms/src/main/java/com/zhglxt/cms/entity/Article.java index 45bb0d6..d99c44c 100644 --- a/zhglxt-cms/src/main/java/com/zhglxt/cms/entity/Article.java +++ b/zhglxt-cms/src/main/java/com/zhglxt/cms/entity/Article.java @@ -10,29 +10,98 @@ */ public class Article implements Serializable { private static final long serialVersionUID = -1395263694069887623L; - private String id;//主键id - private String columnId;//栏目编号 - private String columnName;//栏目名称 - private String columnFlag;//栏目标识 - private String title;//标题 - private String link;//文章链接 - private String content;//文章内容 - private String titleColor;//标题颜色 - private String imageUrl;//文章图片路径 - private String imageName;//文章图片名称 - private String keywords;//关键字 - private String description;//描述、摘要 - private String weight;//权重,越大越靠前 - private Date weightTime;//权重期限 - private String hits;//点击数 - private String posId;//推荐位,多选 - private String status;//0.显示、1.隐藏 - private String createBy;//创建人 - private Date createTime;//创建时间 - private String updateBy;//更新人 - private Date updateTime;//更新时间 - private String remark;//备注 - private String sort;//排序 + /** + * 主键id + **/ + private String id; + /** + * 栏目编号 + **/ + private String columnId; + /** + * 栏目名称 + **/ + private String columnName; + /** + * 栏目标识 + **/ + private String columnFlag; + /** + * 标题 + **/ + private String title; + /** + * 文章链接 + **/ + private String link; + /** + * 文章内容 + **/ + private String content; + /** + * 标题颜色 + **/ + private String titleColor; + /** + * 文章图片路径 + **/ + private String imageUrl; + /** + * 文章图片名称 + **/ + private String imageName; + /** + * 关键字 + **/ + private String keywords; + /** + * 描述、摘要 + **/ + private String description; + /** + * 权重,越大越靠前 + **/ + private String weight; + /** + * 权重期限 + **/ + private Date weightTime; + /** + * 点击数 + **/ + private String hits; + /** + * 推荐位,多选 + **/ + private String posId; + /** + * 0.显示、1.隐藏 + **/ + private String status; + /** + * 创建人 + **/ + private String createBy; + /** + * 创建时间 + **/ + private Date createTime; + /** + * 更新人 + **/ + private String updateBy; + /** + * 更新时间 + **/ + private Date updateTime; + /** + * 备注 + **/ + private String remark; + /** + * 排序 + **/ + private String sort; public String getId() { return id; diff --git a/zhglxt-common/pom.xml b/zhglxt-common/pom.xml index 348b643..c664ce7 100644 --- a/zhglxt-common/pom.xml +++ b/zhglxt-common/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-common diff --git a/zhglxt-common/src/main/java/com/zhglxt/common/utils/StringUtils.java b/zhglxt-common/src/main/java/com/zhglxt/common/utils/StringUtils.java index 77385e8..7a70017 100644 --- a/zhglxt-common/src/main/java/com/zhglxt/common/utils/StringUtils.java +++ b/zhglxt-common/src/main/java/com/zhglxt/common/utils/StringUtils.java @@ -296,7 +296,7 @@ public static final List str2List(String str, String sep, boolean filter } /** - * 判断给定的set列表中是否包含数组array 判断给定的数组array中是否包含给定的元素value + * 判断给定的collection列表中是否包含数组array 判断给定的数组array中是否包含给定的元素value * * @param collection 给定的集合 * @param array 给定的数组 diff --git a/zhglxt-demo/pom.xml b/zhglxt-demo/pom.xml index 320fe6c..239fab0 100644 --- a/zhglxt-demo/pom.xml +++ b/zhglxt-demo/pom.xml @@ -5,7 +5,7 @@ zhglxt com.zhglxt - 4.7.6 + 4.7.7 4.0.0 diff --git a/zhglxt-file-manager/pom.xml b/zhglxt-file-manager/pom.xml index 30f733f..b6a0121 100644 --- a/zhglxt-file-manager/pom.xml +++ b/zhglxt-file-manager/pom.xml @@ -5,7 +5,7 @@ zhglxt com.zhglxt - 4.7.6 + 4.7.7 4.0.0 diff --git a/zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml b/zhglxt-file-manager/zhglxt-file-CKFinder/pom.xml index d0f4877..ca98302 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.6 + 4.7.7 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 441ea19..0559179 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.6 + 4.7.7 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 1f84f5d..9055d4c 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.6 + 4.7.7 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 18f545c..d49af78 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.6 + 4.7.7 4.0.0 diff --git a/zhglxt-framework/pom.xml b/zhglxt-framework/pom.xml index d817bc6..f896985 100644 --- a/zhglxt-framework/pom.xml +++ b/zhglxt-framework/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-framework diff --git a/zhglxt-generator/pom.xml b/zhglxt-generator/pom.xml index 144ae76..0c277b0 100644 --- a/zhglxt-generator/pom.xml +++ b/zhglxt-generator/pom.xml @@ -5,7 +5,7 @@ zhglxt com.zhglxt - 4.7.6 + 4.7.7 4.0.0 diff --git a/zhglxt-oa/pom.xml b/zhglxt-oa/pom.xml index 458ea10..beb6ff5 100644 --- a/zhglxt-oa/pom.xml +++ b/zhglxt-oa/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-oa diff --git a/zhglxt-quartz/pom.xml b/zhglxt-quartz/pom.xml index d191431..d3cc370 100644 --- a/zhglxt-quartz/pom.xml +++ b/zhglxt-quartz/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-quartz diff --git a/zhglxt-quartz/src/main/java/com/zhglxt/quartz/util/JobInvokeUtil.java b/zhglxt-quartz/src/main/java/com/zhglxt/quartz/util/JobInvokeUtil.java index 1e6dc48..ba3e96a 100644 --- a/zhglxt-quartz/src/main/java/com/zhglxt/quartz/util/JobInvokeUtil.java +++ b/zhglxt-quartz/src/main/java/com/zhglxt/quartz/util/JobInvokeUtil.java @@ -30,7 +30,7 @@ public static void invokeMethod(SysJob sysJob) throws Exception { Object bean = SpringUtils.getBean(beanName); invokeMethod(bean, methodName, methodParams); } else { - Object bean = Class.forName(beanName).newInstance(); + Object bean = Class.forName(beanName).getDeclaredConstructor().newInstance(); invokeMethod(bean, methodName, methodParams); } } diff --git a/zhglxt-system/pom.xml b/zhglxt-system/pom.xml index 2bee787..097c8b5 100644 --- a/zhglxt-system/pom.xml +++ b/zhglxt-system/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-system diff --git a/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysUserServiceImpl.java b/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysUserServiceImpl.java index f9eda6a..b65cca3 100644 --- a/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysUserServiceImpl.java +++ b/zhglxt-system/src/main/java/com/zhglxt/system/service/impl/SysUserServiceImpl.java @@ -461,16 +461,15 @@ public String importUser(List userList, Boolean isUpdateSupport, String BeanValidators.validateWithException(validator, user); user.setPassword(Md5Utils.hash(user.getLoginName() + password)); user.setCreateBy(operName); - this.insertUser(user); + userMapper.insertUser(user); successNum++; - //successMsg.append("
" + successNum + "、账号 " + user.getLoginName() + " 导入成功"); } else if (isUpdateSupport) { BeanValidators.validateWithException(validator, user); checkUserAllowed(u); checkUserDataScope(u.getUserId()); user.setUserId(u.getUserId()); user.setUpdateBy(operName); - this.updateUser(user); + userMapper.updateUser(user); successNum++; successMsg.append("
" + successNum + "、账号 " + user.getLoginName() + " 更新成功"); } else { @@ -488,7 +487,6 @@ public String importUser(List userList, Boolean isUpdateSupport, String failureMsg.insert(0, "很抱歉,导入失败!共 " + failureNum + " 条数据格式不正确,错误如下:"); throw new ServiceException(failureMsg.toString()); } else { - //successMsg.insert(0, "恭喜您,数据已全部导入成功!共 " + successNum + " 条,数据如下:"); successMsg.append("恭喜您,成功导入"+ successNum + "条"); } return successMsg.toString(); diff --git a/zhglxt-web/pom.xml b/zhglxt-web/pom.xml index 6a1a2ad..2d9ca62 100644 --- a/zhglxt-web/pom.xml +++ b/zhglxt-web/pom.xml @@ -6,7 +6,7 @@ com.zhglxt zhglxt - 4.7.6 + 4.7.7 zhglxt-web war diff --git a/zhglxt-web/src/main/resources/application.yml b/zhglxt-web/src/main/resources/application.yml index 5e8f7a7..a3f4af9 100644 --- a/zhglxt-web/src/main/resources/application.yml +++ b/zhglxt-web/src/main/resources/application.yml @@ -3,7 +3,7 @@ zhglxt: # 名称 name: WEB应用系统 # 版本 - version: 4.7.6 + version: 4.7.7 # 版权年份 copyrightYear: 2023 # 实例演示开关 diff --git a/zhglxt-web/src/main/resources/templates/demo/form/summernote.html b/zhglxt-web/src/main/resources/templates/demo/form/summernote.html index c3ffc1e..7a01eff 100644 --- a/zhglxt-web/src/main/resources/templates/demo/form/summernote.html +++ b/zhglxt-web/src/main/resources/templates/demo/form/summernote.html @@ -19,7 +19,7 @@

WEB应用系统

本系统一个完全响应式,基于Bootstrap3.3.7最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术,她提供了诸多的强大的可以重新组合的UI组件,并集成了最新的jQuery版本(v2.1.1),当然,也集成了很多功能强大,用途广泛的就jQuery插件,她可以用于所有的Web应用程序,如网站管理后台网站会员中心CMSCRMOA等等,当然,您也可以对她进行深度定制,以做出更强系统。

- 当前版本:v4.7.6 + 当前版本:v4.7.7

免费开源 @@ -60,7 +60,7 @@

你好,

H+是一个完全响应式,基于Bootstrap3.3.7最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术,她提供了诸多的强大的可以重新组合的UI组件,并集成了最新的jQuery版本(v2.1.1),当然,也集成了很多功能强大,用途广泛的就jQuery插件,她可以用于所有的Web应用程序,如网站管理后台网站会员中心CMSCRMOA等等,当然,您也可以对她进行深度定制,以做出更强系统。

- 当前版本:v4.7.6 + 当前版本:v4.7.7

开源免费 diff --git a/zhglxt-web/src/main/resources/templates/main.html b/zhglxt-web/src/main/resources/templates/main.html index 9ec0f78..7868bee 100644 --- a/zhglxt-web/src/main/resources/templates/main.html +++ b/zhglxt-web/src/main/resources/templates/main.html @@ -56,10 +56,25 @@

更新日志 单击标题进行 (
- latest version2022.12.18-2023.04.14 + latest version2023.04.14-2023.04.15
+
+
    +
  1. 升级oshi到最新版本6.4.1
  2. +
+
+
+
+ +
+
+
+ 4.7.72022.12.18-2023.04.14 +
+
+
  1. 企业官网文件管理器代码优化