You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
3 years ago
|
package com.engine.organization.wrapper;
|
||
|
|
||
|
import com.engine.common.util.ServiceUtil;
|
||
|
import com.engine.core.impl.Service;
|
||
|
import com.engine.organization.service.OrgChartService;
|
||
|
import com.engine.organization.service.impl.OrgChartServiceImpl;
|
||
|
import weaver.hrm.User;
|
||
|
|
||
|
import java.util.Map;
|
||
|
|
||
|
/**
|
||
|
* @className: OrgChartWrapper
|
||
|
* @author: dengjp
|
||
|
* @date: 2022/7/7
|
||
|
* @description: 组织架构图Wrapper
|
||
|
**/
|
||
|
public class OrgChartWrapper extends Service {
|
||
|
private OrgChartService getOrgChartService(User user) {
|
||
|
return ServiceUtil.getService(OrgChartServiceImpl.class, user);
|
||
|
}
|
||
|
|
||
|
|
||
|
public Map<String, Object> getOptionCondition(Map<String, Object> request2Map, User user) {
|
||
|
return getOrgChartService(user).getOptionCondition(request2Map, user);
|
||
|
}
|
||
|
|
||
|
public Map<String, Object> getCompanyData(Map<String, Object> request2Map, User user) {
|
||
|
return getOrgChartService(user).getCompanyData(request2Map, user);
|
||
|
}
|
||
|
|
||
|
public Map<String, Object> getUserData(Map<String, Object> request2Map, User user) {
|
||
|
return getOrgChartService(user).getUserData(request2Map, user);
|
||
|
}
|
||
|
}
|