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.
32 lines
872 B
Java
32 lines
872 B
Java
package com.engine.organization.wrapper;
|
|
|
|
import com.engine.common.util.ServiceUtil;
|
|
import com.engine.core.impl.Service;
|
|
import com.engine.organization.service.ExportCommonService;
|
|
import com.engine.organization.service.impl.ExportCommonServiceImpl;
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
import weaver.hrm.User;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @Author weaver_cl
|
|
* @Description:
|
|
* @Date 2022/6/28
|
|
* @Version V1.0
|
|
**/
|
|
public class ExportCommonWrapper extends Service {
|
|
|
|
public ExportCommonService getExportCommonService(User user) {
|
|
return ServiceUtil.getService(ExportCommonServiceImpl.class, user);
|
|
}
|
|
|
|
public XSSFWorkbook resourceExport(List<Long> ids) {
|
|
return getExportCommonService(user).resourceExport(ids);
|
|
}
|
|
|
|
public XSSFWorkbook staffExport() {
|
|
return getExportCommonService(user).staffExport();
|
|
}
|
|
}
|