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:
dxfeng 2023-07-26 16:08:37 +08:00
commit b74d06bf07
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}