package com.cloud.user.service;
|
|
import com.cloud.model.common.Page;
|
import com.cloud.model.sys.BbEmployeeRelation;
|
import com.cloud.user.vo.BbEmployeeRelationVO;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 人员关系表
|
* 业务层接口
|
*/
|
public interface BbEmployeeRelationService {
|
|
/**
|
* 根据主键查询
|
* @param orgId 是否带orgId
|
*/
|
BbEmployeeRelation findById(Long id, Long orgId);
|
|
/**
|
* 根据主键删除
|
* @param params
|
* @param orgId
|
*/
|
Integer deleteById(Map<String, Object> params, String orgId);
|
|
/**
|
* 添加,没有业务
|
*/
|
Integer add(BbEmployeeRelation bean);
|
|
/**
|
* 编辑,没有业务
|
*/
|
|
BbEmployeeRelation update(BbEmployeeRelation bean);
|
|
/**
|
* 添加,包含业务
|
*/
|
Map<String,Object> addBbEmployeeRelation(List<BbEmployeeRelationVO> beanVOs);
|
|
/**
|
* 去编辑,包含业务
|
*/
|
BbEmployeeRelation toUpdateBbEmployeeRelation(BbEmployeeRelationVO beanVO);
|
|
/**
|
* 编辑,包含业务
|
*/
|
Map<String,Object> updateBbEmployeeRelation(BbEmployeeRelationVO beanVO);
|
|
/**
|
* 分页查询
|
*/
|
Page<BbEmployeeRelation> findBbEmployeeRelations(Map<String, Object> params);
|
|
/**
|
* 查询与人员id有关系的人员集合
|
*/
|
Map<String,Object> findRelationById(Map<String, Object> params);
|
}
|