处理部门排序问题
This commit is contained in:
parent
e412999ac2
commit
b86a06fc08
|
|
@ -16,10 +16,7 @@ import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.util.ArrayList;
|
import java.util.*;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统部门服务实现类
|
* 系统部门服务实现类
|
||||||
|
|
@ -82,7 +79,7 @@ class SystemAuthDeptServiceImpl implements ISystemAuthDeptService {
|
||||||
|
|
||||||
List<SystemAuthDept> systemAuthDeptList = systemAuthDeptMapper.selectList(queryWrapper);
|
List<SystemAuthDept> systemAuthDeptList = systemAuthDeptMapper.selectList(queryWrapper);
|
||||||
|
|
||||||
List<SystemAuthDeptVo> lists = new ArrayList<>();
|
List<SystemAuthDeptVo> lists = new LinkedList<>();
|
||||||
for (SystemAuthDept systemAuthDept : systemAuthDeptList) {
|
for (SystemAuthDept systemAuthDept : systemAuthDeptList) {
|
||||||
SystemAuthDeptVo vo = new SystemAuthDeptVo();
|
SystemAuthDeptVo vo = new SystemAuthDeptVo();
|
||||||
BeanUtils.copyProperties(systemAuthDept, vo);
|
BeanUtils.copyProperties(systemAuthDept, vo);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue