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.
33 lines
799 B
Java
33 lines
799 B
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.common.BaseQueryParam;
|
||
|
import com.engine.organization.service.CompService;
|
||
|
import com.engine.organization.service.impl.CompServiceImpl;
|
||
|
import weaver.hrm.User;
|
||
|
|
||
|
import java.util.Map;
|
||
|
|
||
|
/**
|
||
|
* @description: TODO
|
||
|
* @author:dxfeng
|
||
|
* @createTime: 2022/05/16
|
||
|
* @version: 1.0
|
||
|
*/
|
||
|
public class CompWrapper extends Service {
|
||
|
private CompService getCompService(User user) {
|
||
|
return ServiceUtil.getService(CompServiceImpl.class, user);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 列表
|
||
|
*
|
||
|
* @param params
|
||
|
* @return
|
||
|
*/
|
||
|
public Map<String, Object> listPage(BaseQueryParam params) {
|
||
|
return getCompService(user).listPage(params);
|
||
|
}
|
||
|
}
|