2022-06-28 19:04:14 +08:00
|
|
|
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;
|
|
|
|
|
|
2022-06-29 15:21:36 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
2022-06-28 19:04:14 +08:00
|
|
|
/**
|
|
|
|
|
* @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);
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-29 15:21:36 +08:00
|
|
|
public XSSFWorkbook resourceExport(List<Long> ids) {
|
|
|
|
|
return getExportCommonService(user).resourceExport(ids);
|
2022-06-28 19:04:14 +08:00
|
|
|
}
|
|
|
|
|
}
|