WeUserMapper.java
2.22 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package com.linkwechat.wecom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.wecom.domain.WeUser;
import com.linkwechat.wecom.domain.vo.WeAllocateCustomersVo;
import com.linkwechat.wecom.domain.vo.WeAllocateGroupsVo;
import com.linkwechat.wecom.domain.vo.WeLeaveUserVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 通讯录相关客户Mapper接口
*
* @author ruoyi
* @date 2020-08-31
*/
public interface WeUserMapper extends BaseMapper<WeUser>
{
/**
* 查询通讯录相关客户
*
* @param userId 通讯录相关客户ID
* @return 通讯录相关客户
*/
public WeUser selectWeUserById(String userId);
/**
* 查询通讯录相关客户列表
*
* @param weUser 通讯录相关客户
* @return 通讯录相关客户集合
*/
public List<WeUser> selectWeUserList(WeUser weUser);
/**
* 新增通讯录相关客户
*
* @param weUser 通讯录相关客户
* @return 结果
*/
public int insertWeUser(WeUser weUser);
/**
* 修改通讯录相关客户
*
* @param weUser 通讯录相关客户
* @return 结果
*/
public int updateWeUser(WeUser weUser);
/**
* 离职未分配员工
* @param weLeaveUserVo
* @return
*/
public List<WeLeaveUserVo> leaveNoAllocateUserList(WeLeaveUserVo weLeaveUserVo);
/**
* 离职已分配员工
* @param weLeaveUserVo
* @return
*/
public List<WeLeaveUserVo> leaveAllocateUserList(WeLeaveUserVo weLeaveUserVo);
/**
* 删除当前表的员工
* @return
*/
public int deleteWeUser();
/**
* 批量插入员工
* @param weUsers
* @return
*/
public int batchInsertWeUser(@Param("weUsers") List<WeUser> weUsers);
/**
* 获取历史分配记录的成员
* @param weAllocateCustomersVo
* @return
*/
public List<WeAllocateCustomersVo> getAllocateCustomers(WeAllocateCustomersVo weAllocateCustomersVo);
/**
* 获取历史分配群
* @param weAllocateGroupsVo
* @return
*/
public List<WeAllocateGroupsVo> getAllocateGroups(WeAllocateGroupsVo weAllocateGroupsVo);
}