935090232@qq.com
2021-03-18 5d43370b99a03391c9271d04d3f351f0fd734dae
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
package com.matrix.biz.service;
 
import com.matrix.biz.bean.BizUser;
import com.matrix.core.pojo.PaginationVO;
 
import java.util.List;
 
/**
 * @description  service接口类 (用户表)
 * @author jyy
 * @date 2019-05-31 10:03
 */
public interface BizUserService  {
    
    /**
     * 新增
     */
    public int add(BizUser bizUser);
       
       /**
     * 批量新增
     */
    public int batchAdd(List<BizUser> bizUserList);
 
       /**
     * 根据map键值对 更新
     */
    public int modifyByMap(BizUser oldBizUser, BizUser newBizUser);
    
    /**
     * 根据对象 更新
     */
    public int modifyByModel(BizUser bizUser);
    
 
 
    /**
     * 根据id删除
     */
    public int removeById(Long userId);
    
    /**
     * 根据对象删除
     */
    public int removeByModel(BizUser bizUser);
    
    /**
     * 分页查询
     */
    public List<BizUser> findInPage(BizUser bizUser, PaginationVO pageVo);
 
    /**
     * 根据对象查询
     */
    public List<BizUser> findByModel(BizUser bizUser);
    
    /**
     * 统计记录数
     */
    public int  findTotal(BizUser bizUser);
 
    public int remove(List<Long> list);
 
       
    /**
     * 根据openId更新
     */
 
    public BizUser findByOpenId(String openId);
 
    public BizUser  findById(Long userId);
    /**
     * 保存用户信息
     */
    public int saveUserInfo(BizUser bizUser);
 
    /**
     * 设置为推广员
     * @param invitationId
     */
    public int setToBeAnSalesman(String openId,String invitationId);
}