|
|
@ -141,6 +141,10 @@ public class ChartServiceImpl extends Service implements ChartService {
|
|
|
|
|
|
|
|
|
|
|
|
// 向下查询数据
|
|
|
|
// 向下查询数据
|
|
|
|
if (null != topChartPO) {
|
|
|
|
if (null != topChartPO) {
|
|
|
|
|
|
|
|
// 如果根结点是部门,顶层层级设置为1
|
|
|
|
|
|
|
|
if(topChartPO.getFtype().equals("2")){
|
|
|
|
|
|
|
|
topChartPO.setDepartmentDepth(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
findChildData(topChartPO, dataList, Integer.parseInt(depth), id, hideDepartment);
|
|
|
|
findChildData(topChartPO, dataList, Integer.parseInt(depth), id, hideDepartment);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|