bug修复
This commit is contained in:
parent
27c9d669f7
commit
67fe45cd2a
|
|
@ -1,50 +0,0 @@
|
|||
package com.engine.salary.cmd.archives;
|
||||
|
||||
import com.api.browser.bean.SearchConditionItem;
|
||||
import com.api.browser.util.ConditionFactory;
|
||||
import com.engine.common.biz.AbstractCommonCommand;
|
||||
import com.engine.common.entity.BizLogContext;
|
||||
import com.engine.core.interceptor.CommandContext;
|
||||
import com.engine.salary.biz.SIArchivesBiz;
|
||||
import com.engine.salary.biz.SICategoryBiz;
|
||||
import com.engine.salary.entity.sicategory.dto.ICategoryFormDTO;
|
||||
import weaver.hrm.User;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Author weaver_cl
|
||||
* @Description: TODO
|
||||
* @Date 2022/3/12
|
||||
* @Version V1.0
|
||||
**/
|
||||
public class SIArchivesGetBaseFormCmd extends AbstractCommonCommand<Map<String, Object>> {
|
||||
|
||||
|
||||
public SIArchivesGetBaseFormCmd(Map<String, Object> params, User user) {
|
||||
this.user = user;
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BizLogContext getLogContext() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> execute(CommandContext commandContext) {
|
||||
Map<String, Object> apidatas = new HashMap<>(16);
|
||||
SIArchivesBiz siArchivesBiz = new SIArchivesBiz();
|
||||
Integer welfareType = (Integer) params.get("welfareType");
|
||||
Long employeeId = (Long) params.get("employeeId");
|
||||
ICategoryFormDTO form = siArchivesBiz.getBaseForm(welfareType,employeeId);
|
||||
apidatas.put("form",form);
|
||||
|
||||
ConditionFactory conditionFactory = new ConditionFactory(user);
|
||||
Map<String, SearchConditionItem> items = new HashMap<>();
|
||||
|
||||
|
||||
return apidatas;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue