组织管理,移动树接口提交

pull/198/head
dxfeng 2 years ago
parent 9610361733
commit b1b24fc925

@ -24,6 +24,7 @@ import weaver.hrm.resource.ResourceComInfo;
import java.time.LocalDate; import java.time.LocalDate;
import java.util.*; import java.util.*;
import java.util.stream.Collectors;
/** /**
* @author:dxfeng * @author:dxfeng
@ -482,6 +483,7 @@ public class ChartServiceImpl extends Service implements ChartService {
} }
Map<String, Object> result = new HashMap<>(2); Map<String, Object> result = new HashMap<>(2);
result.put("movingTree", movingTrees); result.put("movingTree", movingTrees);
result.put("expandedKeys", movingTrees.stream().map(MovingTree::getKey).collect(Collectors.toList()));
result.put("api_status", true); result.put("api_status", true);
return result; return result;
} }

Loading…
Cancel
Save