admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package com.yeshi.fanli.service.inter.user.invite;
 
import com.yeshi.fanli.entity.bus.user.ThreeSaleExtraInfo;
 
public interface ThreeSaleExtraInfoSerivce {
    public int deleteByPrimaryKey(Long id);
 
    public int insert(ThreeSaleExtraInfo record);
 
    public int insertSelective(ThreeSaleExtraInfo record);
 
    public ThreeSaleExtraInfo selectByPrimaryKey(Long id);
 
    public int updateByPrimaryKeySelective(ThreeSaleExtraInfo record);
 
    public int updateByPrimaryKey(ThreeSaleExtraInfo record);
 
    /**
     * 根据用户id、被邀请id 查询
     * @param bossId
     * @param workerId
     * @return
     */
    public ThreeSaleExtraInfo getbyBossIdAndWorkerId(Long bossId, Long workerId);
 
    /**
     * 根据用户id、被邀请id删除
     * @param bossId
     * @param workerId
     * @return
     */
    public int deleteByBossIdAndWorkerId(Long bossId, Long workerId);
 
    /**
     * 是否已提醒boss
     * @param bossId
     * @param workerId
     * @return
     */
    public boolean isRemindBoss(Long bossId, Long workerId);
 
    /**
     * 是否已提醒下级
     * @param bossId
     * @param workerId
     * @return
     */
    public boolean isRemindWorker(Long bossId, Long workerId);
}