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);
|
}
|