admin
2019-02-19 9192375a211cff2f91d1f65f932f97612d8dbcdb
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
package org.fanli.service.user.dao.invite;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
import org.fanli.facade.user.entity.invite.ThreeSaleExtraInfo;
 
public interface ThreeSaleExtraInfoMapper {
 
    int deleteByPrimaryKey(Long id);
 
    int insert(ThreeSaleExtraInfo record);
 
    int insertSelective(ThreeSaleExtraInfo record);
 
    ThreeSaleExtraInfo selectByPrimaryKey(Long id);
 
    int updateByPrimaryKeySelective(ThreeSaleExtraInfo record);
 
    int updateByPrimaryKey(ThreeSaleExtraInfo record);
    
    /**
     * 根据用户id、被邀请id 查询
     * @param bossId
     * @param workerId
     * @return
     */
    List<ThreeSaleExtraInfo> listbyBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId);
    
    /**
     * 根据用户id、被邀请id删除
     * @param bossId
     * @param workerId
     * @return
     */
    int deleteByBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId);
    
}