liuxiaolong
2019-05-06 f99bc8c6a1d10610373738edd7d0aa0181c81d99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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);
}