diff --git a/pom.xml b/pom.xml
index f7280e97..16c88080 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
2.2.2
1.4.5
2.0.16
- 6.3.0
+ 6.3.2
2.11.0
1.4
3.2.2
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
index 1aa456f0..41423884 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
@@ -71,11 +71,7 @@ public class SysDeptServiceImpl implements ISysDeptService
public List buildDeptTree(List depts)
{
List returnList = new ArrayList();
- List tempList = new ArrayList();
- for (SysDept dept : depts)
- {
- tempList.add(dept.getDeptId());
- }
+ List tempList = depts.stream().map(SysDept::getDeptId).collect(Collectors.toList());
for (SysDept dept : depts)
{
// 如果是顶级节点, 遍历该父节点的所有子节点
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
index 481a9ec9..a85c3506 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
@@ -223,11 +223,7 @@ public class SysMenuServiceImpl implements ISysMenuService
public List buildMenuTree(List menus)
{
List returnList = new ArrayList();
- List tempList = new ArrayList();
- for (SysMenu dept : menus)
- {
- tempList.add(dept.getMenuId());
- }
+ List tempList = menus.stream().map(SysMenu::getMenuId).collect(Collectors.toList());
for (Iterator iterator = menus.iterator(); iterator.hasNext();)
{
SysMenu menu = (SysMenu) iterator.next();
@@ -479,8 +475,8 @@ public class SysMenuServiceImpl implements ISysMenuService
/**
* 递归列表
*
- * @param list
- * @param t
+ * @param list 分类表
+ * @param t 子节点
*/
private void recursionFn(List list, SysMenu t)
{
@@ -525,7 +521,7 @@ public class SysMenuServiceImpl implements ISysMenuService
/**
* 内链域名特殊字符替换
*
- * @return
+ * @return 替换后的内链域名
*/
public String innerLinkReplaceEach(String path)
{