Merge pull request '组织管理,移动树接口提交' (#198) from feature/dxf into develop
Reviewed-on: http://221.226.25.34:3000/liang.cheng/weaver-hrm-organization/pulls/198
This commit is contained in:
commit
b74d06bf07
|
|
@ -24,6 +24,7 @@ import weaver.hrm.resource.ResourceComInfo;
|
|||
|
||||
import java.time.LocalDate;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author:dxfeng
|
||||
|
|
@ -482,6 +483,7 @@ public class ChartServiceImpl extends Service implements ChartService {
|
|||
}
|
||||
Map<String, Object> result = new HashMap<>(2);
|
||||
result.put("movingTree", movingTrees);
|
||||
result.put("expandedKeys", movingTrees.stream().map(MovingTree::getKey).collect(Collectors.toList()));
|
||||
result.put("api_status", true);
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue