处理部门排序问题

This commit is contained in:
TinyAnts 2022-09-16 09:29:38 +08:00
parent e412999ac2
commit b86a06fc08
1 changed files with 2 additions and 5 deletions

View File

@ -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<SystemAuthDept> systemAuthDeptList = systemAuthDeptMapper.selectList(queryWrapper);
List<SystemAuthDeptVo> lists = new ArrayList<>();
List<SystemAuthDeptVo> lists = new LinkedList<>();
for (SystemAuthDept systemAuthDept : systemAuthDeptList) {
SystemAuthDeptVo vo = new SystemAuthDeptVo();
BeanUtils.copyProperties(systemAuthDept, vo);