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

164 lines
3.0 KiB
Java
Raw Normal View History

2022-05-20 15:00:03 +08:00
package com.engine.organization.service;
2022-06-02 10:53:43 +08:00
import com.api.browser.bean.SearchConditionGroup;
2022-06-02 15:43:19 +08:00
import com.engine.organization.entity.department.param.*;
2022-05-20 15:00:03 +08:00
import com.engine.organization.entity.department.vo.SingleDeptTreeVO;
2022-06-02 16:49:25 +08:00
import com.engine.organization.entity.job.vo.SingleJobTreeVO;
2022-06-02 09:58:16 +08:00
import com.engine.organization.entity.searchtree.SearchTreeParams;
2022-05-20 15:00:03 +08:00
import com.engine.organization.util.page.PageInfo;
2022-05-27 18:05:15 +08:00
import java.util.Collection;
2022-06-02 10:53:43 +08:00
import java.util.List;
2022-05-23 17:46:37 +08:00
import java.util.Map;
2022-05-20 15:00:03 +08:00
/**
* @Author weaver_cl
2022-06-14 11:07:48 +08:00
* @description:
2022-05-20 15:00:03 +08:00
* @Date 2022/5/20
* @Version V1.0
**/
public interface DepartmentService {
/**
* 根据分部id获取部门tree
* 联查部门
2022-05-23 17:46:37 +08:00
*
2022-05-20 15:00:03 +08:00
* @param param
* @return
*/
PageInfo<SingleDeptTreeVO> getDeptListByPid(QuerySingleDeptListParam param);
2022-05-23 17:46:37 +08:00
2022-06-02 16:49:25 +08:00
/**
* 部门联查岗位
*
* @param param
* @return
*/
PageInfo<SingleJobTreeVO> getJobListByPid(QuerySingleDeptListParam param);
2022-06-02 09:58:16 +08:00
/**
* 列表左侧树
*
* @return
*/
Map<String, Object> getSearchTree(SearchTreeParams params);
2022-05-23 17:46:37 +08:00
/**
* 列表数据展示
*
* @param param
* @return
*/
2022-05-23 19:16:31 +08:00
Map<String, Object> listPage(DeptSearchParam param);
/**
* 保存部门基础信息
*
* @param params
* @return
*/
2022-06-23 16:55:26 +08:00
Long saveBaseForm(Map<String, Object> params);
2022-06-02 09:58:16 +08:00
2022-05-27 18:05:15 +08:00
/**
* 更新禁用标记
*
* @param params
*/
int updateForbiddenTagById(DeptSearchParam params);
/**
* 更新分部主表拓展表明细表
*
* @param params
* @return
*/
2022-06-23 16:55:26 +08:00
Long updateForm(Map<String, Object> params);
2022-05-27 18:05:15 +08:00
/**
* 根据ID批量删除
*
* @param ids
*/
int deleteByIds(Collection<Long> ids);
/**
* 获取搜索条件
*
* @param params
* @return
*/
Map<String, Object> getSearchCondition(Map<String, Object> params);
/**
* 获取列表页面按钮信息
*
* @return
*/
Map<String, Object> getHasRight();
/**
* 获取基本信息表单
*
* @param params
* @return
*/
Map<String, Object> getDeptBaseForm(Map<String, Object> params);
2022-05-23 19:16:31 +08:00
/**
* 获取新增表单
*
* @return
*/
Map<String, Object> getSaveForm();
2022-05-23 17:46:37 +08:00
2022-06-02 10:53:43 +08:00
/**
* 复制表单
*
* @return
*/
List<SearchConditionGroup> getCopyForm();
2022-06-02 11:40:24 +08:00
/**
* 复制岗位到指定部门
*
* @param copyParam
* @return
*/
int copyDepartment(DeptCopyParam copyParam);
2022-06-02 15:43:19 +08:00
/**
* 获取合并表单
*
* @return
*/
List<SearchConditionGroup> getMergeForm(Long id);
/**
* 合并到指定部门
*
* @param mergeParam
* @return
*/
int mergeDepartment(DepartmentMergeParam mergeParam);
/**
* 获取转移表单
*
* @return
*/
List<SearchConditionGroup> getMoveForm();
/**
* 转移到指定分部或部门
*
* @param moveParam
* @return
*/
int moveDepartment(DepartmentMoveParam moveParam);
2022-05-20 15:00:03 +08:00
}