From b86a06fc083554bb27bd41b8722b5b6cc495c8b4 Mon Sep 17 00:00:00 2001 From: TinyAnts Date: Fri, 16 Sep 2022 09:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=83=A8=E9=97=A8=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/system/impl/SystemAuthDeptServiceImpl.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/server/like-admin/src/main/java/com/mdd/admin/service/system/impl/SystemAuthDeptServiceImpl.java b/server/like-admin/src/main/java/com/mdd/admin/service/system/impl/SystemAuthDeptServiceImpl.java index 69ea5232..e23fa8d4 100644 --- a/server/like-admin/src/main/java/com/mdd/admin/service/system/impl/SystemAuthDeptServiceImpl.java +++ b/server/like-admin/src/main/java/com/mdd/admin/service/system/impl/SystemAuthDeptServiceImpl.java @@ -16,10 +16,7 @@ import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; import javax.annotation.Resource; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Map; +import java.util.*; /** * 系统部门服务实现类 @@ -82,7 +79,7 @@ class SystemAuthDeptServiceImpl implements ISystemAuthDeptService { List systemAuthDeptList = systemAuthDeptMapper.selectList(queryWrapper); - List lists = new ArrayList<>(); + List lists = new LinkedList<>(); for (SystemAuthDept systemAuthDept : systemAuthDeptList) { SystemAuthDeptVo vo = new SystemAuthDeptVo(); BeanUtils.copyProperties(systemAuthDept, vo);