weaver-hrm-salary/src/com/engine/salary/service/impl/OtherDeductionServiceImpl.java

52 lines
1.6 KiB
Java
Raw Normal View History

2022-03-10 17:57:46 +08:00
package com.engine.salary.service.impl;
import com.engine.core.impl.Service;
import com.engine.salary.cmd.datacollection.*;
import com.engine.salary.service.OtherDeductionService;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.util.Map;
public class OtherDeductionServiceImpl extends Service implements OtherDeductionService {
@Override
public Map<String, Object> getSearchCondition(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionGetSearchConditionCmd(params, user));
}
@Override
public Map<String, Object> list(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionListCmd(params, user));
}
@Override
public Map<String, Object> preview(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionPreviewCmd(params, user));
}
@Override
public Map<String, Object> importData(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionImportCmd(params, user));
}
@Override
public XSSFWorkbook export(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionExportCmd(params, user));
}
@Override
public XSSFWorkbook exportDetail(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionExportDetailCmd(params, user));
}
@Override
public Map<String, Object> getDetailList(Map<String, Object> params) {
return commandExecutor.execute(new OtherDeductionGetDetailListCmd(params, user));
}
}