|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.engine.organization.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.engine.common.util.ServiceUtil;
|
|
|
|
|
import com.engine.core.impl.Service;
|
|
|
|
|
import com.engine.organization.entity.chart.ChartPO;
|
|
|
|
|
import com.engine.organization.service.ChartService;
|
|
|
|
@ -168,6 +169,11 @@ public class ChartServiceImpl extends Service implements ChartService {
|
|
|
|
|
|
|
|
|
|
OrganizationAssert.isFalse(StringUtils.isBlank(rootId) || !rootId.startsWith("d_"), "数据有误,未查询到对应数据");
|
|
|
|
|
String departmentId = rootId.split("_")[1];
|
|
|
|
|
String detauleType = Util.null2String(params.get("detauleType"));
|
|
|
|
|
if(!"chart".equals(detauleType)){
|
|
|
|
|
return ServiceUtil.getService(HrmResourceServiceImpl.class, user).chartResourceList(Integer.parseInt(departmentId));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 维度
|
|
|
|
|
String dimension = Util.null2String(params.get("fclass"));
|
|
|
|
|