52 lines
1.6 KiB
Java
52 lines
1.6 KiB
Java
|
|
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));
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|