2022-03-15 09:34:53 +08:00
|
|
|
package com.engine.salary.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.engine.core.impl.Service;
|
2022-03-15 17:39:19 +08:00
|
|
|
import com.engine.salary.biz.SIArchivesBiz;
|
2022-03-15 09:34:53 +08:00
|
|
|
import com.engine.salary.cmd.archives.SIArchivesTipsCmd;
|
2022-03-15 17:39:19 +08:00
|
|
|
import com.engine.salary.entity.siarchives.dto.InsuranceArchivesBaseDTO;
|
|
|
|
|
import com.engine.salary.enums.sicategory.WelfareTypeEnum;
|
2022-03-15 09:34:53 +08:00
|
|
|
import com.engine.salary.service.SIArchivesService;
|
2022-03-15 17:39:19 +08:00
|
|
|
import weaver.general.Util;
|
2022-03-15 09:34:53 +08:00
|
|
|
|
2022-03-15 17:39:19 +08:00
|
|
|
import java.util.HashMap;
|
2022-03-15 09:34:53 +08:00
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Author weaver_cl
|
|
|
|
|
* @Description: TODO
|
|
|
|
|
* @Date 2022/3/11
|
|
|
|
|
* @Version V1.0
|
|
|
|
|
**/
|
|
|
|
|
public class SIArchivesServiceImpl extends Service implements SIArchivesService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> getTips(Map<String, Object> params) {
|
|
|
|
|
return commandExecutor.execute(new SIArchivesTipsCmd(params,user));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> getBaseForm(Map<String, Object> params) {
|
2022-03-15 17:39:19 +08:00
|
|
|
Map<String, Object> apidatas = new HashMap<>(16);
|
|
|
|
|
SIArchivesBiz siArchivesBiz = new SIArchivesBiz();
|
|
|
|
|
WelfareTypeEnum welfareTypeEnum = (WelfareTypeEnum)params.get("welfareTypeEnum");
|
|
|
|
|
Long employeeId = Long.valueOf(Util.null2String(params.get("employeeId")));
|
|
|
|
|
apidatas = siArchivesBiz.getBaseForm(welfareTypeEnum, employeeId,(long) user.getUID());
|
|
|
|
|
if (welfareTypeEnum != null) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return apidatas;
|
2022-03-15 09:34:53 +08:00
|
|
|
}
|
|
|
|
|
}
|