weaver-hrm-organization/src/com/engine/organization/service/ResourceBasicInfoService.java

124 lines
2.3 KiB
Java
Raw Normal View History

2022-08-23 17:51:20 +08:00
package com.engine.organization.service;
2022-08-24 17:57:04 +08:00
import com.api.browser.bean.SearchConditionGroup;
2022-08-23 17:51:20 +08:00
import com.engine.organization.entity.fieldset.vo.TypeTreeVO;
2022-08-26 17:36:26 +08:00
import com.engine.organization.entity.hrmresource.po.ResourceItemClassPO;
2022-08-24 17:57:04 +08:00
import com.engine.organization.entity.hrmresource.po.ResourceItemPO;
2022-08-23 17:51:20 +08:00
2022-08-24 17:57:04 +08:00
import java.util.Collection;
2022-08-23 17:51:20 +08:00
import java.util.List;
import java.util.Map;
/**
* @Author weaver_cl
* @Description:
* @Date 2022/8/23
* @Version V1.0
**/
public interface ResourceBasicInfoService {
/**
* 列表
2022-08-26 17:36:26 +08:00
*
2022-08-23 17:51:20 +08:00
* @param params
* @return
*/
Map<String, Object> listPage(Map<String, Object> params);
/**
* 获取左侧树
2022-08-26 17:36:26 +08:00
*
2022-08-23 17:51:20 +08:00
* @return
*/
List<TypeTreeVO> getTreeData();
2022-08-24 17:57:04 +08:00
/**
* 新增编辑表单
2022-08-26 17:36:26 +08:00
*
2022-08-24 17:57:04 +08:00
* @param params
* @return
*/
List<SearchConditionGroup> getForm(Map<String, Object> params);
/**
* 删除/批量删除人员信息资料
2022-08-26 17:36:26 +08:00
*
2022-08-24 17:57:04 +08:00
* @param ids
* @return
*/
int deletByIds(Collection<Long> ids);
/**
* 恢复人员信息资料
2022-08-26 17:36:26 +08:00
*
2022-08-24 17:57:04 +08:00
* @param ids
* @return
*/
int recoverByIds(Collection<Long> ids);
/**
* 保存人员信息资料
2022-08-26 17:36:26 +08:00
*
2022-08-24 17:57:04 +08:00
* @param resourceItemPO
* @return
*/
int save(ResourceItemPO resourceItemPO);
/**
* 根据id获取人员信息资料
2022-08-26 17:36:26 +08:00
*
2022-08-24 17:57:04 +08:00
* @param fid
* @return
*/
ResourceItemPO selectById(Integer fid);
/**
* 更新人员信息资料
2022-08-26 17:36:26 +08:00
*
2022-08-24 17:57:04 +08:00
* @param resourceItemPO
* @return
*/
int update(ResourceItemPO resourceItemPO);
2022-08-26 17:36:26 +08:00
/**
* 分类新增编辑表单
2022-08-29 09:22:45 +08:00
*
2022-08-26 17:36:26 +08:00
* @param params
* @return
*/
List<SearchConditionGroup> getItemClassForm(Map<String, Object> params);
/**
* 新增分类
2022-08-29 09:22:45 +08:00
*
2022-08-26 17:36:26 +08:00
* @param itemClassPO
* @return
*/
int saveResourceItemClass(ResourceItemClassPO itemClassPO);
/**
* 更新分类
2022-08-29 09:22:45 +08:00
*
2022-08-26 17:36:26 +08:00
* @param itemClassPO
* @return
*/
int updateResourceItemClass(ResourceItemClassPO itemClassPO);
/**
* 删除分类
2022-08-29 09:22:45 +08:00
*
2022-08-26 17:36:26 +08:00
* @param fid
* @return
*/
int deleteResourceItemClass(Integer fid);
2022-08-29 09:22:45 +08:00
/**
* 搜索条件
*
* @return
*/
List<SearchConditionGroup> getSearchCondition();
2022-08-23 17:51:20 +08:00
}