2022-03-08 13:17:54 +08:00
|
|
|
package com.engine.salary.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.engine.core.impl.Service;
|
2022-03-10 11:09:08 +08:00
|
|
|
import com.engine.salary.cmd.datacollection.*;
|
2022-03-08 13:17:54 +08:00
|
|
|
import com.engine.salary.service.AddUpSituationService;
|
2022-03-10 11:09:08 +08:00
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
2022-03-08 13:17:54 +08:00
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
public class AddUpSituationServiceImpl extends Service implements AddUpSituationService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> list(Map<String, Object> params) {
|
2022-03-09 16:40:14 +08:00
|
|
|
return commandExecutor.execute(new AddUpSituationListCmd(params, user));
|
2022-03-08 13:17:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2022-03-10 11:09:08 +08:00
|
|
|
public XSSFWorkbook export(Map<String, Object> params) {
|
2022-03-09 16:40:14 +08:00
|
|
|
return commandExecutor.execute(new AddUpSituationExportCmd(params, user));
|
2022-03-08 13:17:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> getSearchCondition(Map<String, Object> params) {
|
|
|
|
|
return commandExecutor.execute(new AddUpSituationGetSearchConditionCmd(params, user));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> importAddUpSituation(Map<String, Object> params) {
|
2022-03-09 18:58:30 +08:00
|
|
|
return commandExecutor.execute(new AddUpSituationImportCmd(params, user));
|
2022-03-08 13:17:54 +08:00
|
|
|
}
|
2022-03-10 11:09:08 +08:00
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public XSSFWorkbook exportDetail(Map<String, Object> params) {
|
|
|
|
|
return commandExecutor.execute(new AddUpSituationExportDetailCmd(params, user));
|
|
|
|
|
}
|
2022-03-10 17:57:46 +08:00
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> getDetailList(Map<String, Object> params) {
|
|
|
|
|
return commandExecutor.execute(new AddUpSituationGetDetailListCmd(params, user));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> preview(Map<String, Object> params) {
|
|
|
|
|
return commandExecutor.execute(new AddUpSituationPreviewCmd(params, user));
|
|
|
|
|
}
|
2022-03-08 13:17:54 +08:00
|
|
|
}
|