admin
2019-03-13 69bee82b81626b82b7f39f0e459e4f56b1699b51
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
package com.yeshi.fanli.service.inter.hongbao;
 
import java.util.List;
 
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 List<ThreeSaleExtraInfo> listbyBossIdAndWorkerId(Long bossId, Long workerId);
 
    /**
     * 根据用户id、被邀请id删除
     * @param bossId
     * @param workerId
     * @return
     */
    public int deleteByBossIdAndWorkerId(Long bossId, Long workerId);
}