package com.yeshi.fanli.service.inter.user.invite;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.util.List;
|
|
import com.yeshi.fanli.dto.user.ThreeSaleFocusDTO;
|
import com.yeshi.fanli.entity.bus.user.TeamFansInfo;
|
|
public interface TeamFansInfoService {
|
|
/**
|
* 查询
|
* @param start
|
* @param count
|
* @param type
|
* @param uid
|
* @param focusDTO
|
* @return
|
*/
|
public List<TeamFansInfo> query(int start, int count, int type, Long uid, ThreeSaleFocusDTO focusDTO);
|
|
public long count(int type, Long uid, ThreeSaleFocusDTO focusDTO);
|
|
/**
|
* 根据下级id查询
|
* @param workerId
|
* @return
|
*/
|
public TeamFansInfo getbyWorkerId(Long workerId);
|
|
/**
|
* 添加
|
* @param record
|
*/
|
public void save(TeamFansInfo record);
|
|
/**
|
* 更新粉丝数量
|
* @param workerId
|
*/
|
public void updateFansNum(Long workerId);
|
|
/**
|
* 更新标签
|
* @param workerId
|
* @param type
|
* @param tags
|
*/
|
public void updateTags(Long workerId, int type, String tags);
|
|
/**
|
* 更新粉丝备注名
|
* @param workerId
|
* @param type
|
* @param memoName
|
*/
|
public void updateMemoName(Long workerId, int type, String memoName);
|
|
/**
|
* 更新昵称
|
* @param workerId
|
* @param nickName
|
*/
|
public void updateNickName(Long workerId, String nickName);
|
|
/**
|
* 更新有效状态
|
* @param workerId
|
* @param stateValid
|
*/
|
public void updateStateValid(Long workerId, boolean stateValid);
|
|
/**
|
* 更新淘宝绑定
|
* @param workerId
|
* @param taobaoBind
|
*/
|
public void updateTaobaoBind(Long workerId, boolean taobaoBind);
|
|
|
/**
|
* 更新活跃时间
|
* @param workerId
|
* @param activeTime
|
*/
|
public void updateActiveTime(Long workerId, Date activeTime);
|
|
/**
|
* 更新60天收入
|
* @param workerId
|
* @param income
|
*/
|
public void updateIncome(Long workerId, BigDecimal income);
|
|
/**
|
* 更新微信号
|
* @param workerId
|
* @param weixinId
|
*/
|
public void updateWeixinId(Long workerId, String weixinId);
|
|
/**
|
* 更新邀请码
|
*
|
* @param workerId
|
* @param inviteCode
|
*/
|
public void updateInviteCode(Long workerId, String inviteCode);
|
|
/**
|
* 更新电话号
|
* @param workerId
|
* @param phone
|
*/
|
public void updatePhone(Long workerId, String phone);
|
|
/**
|
* 更新手机号公开
|
* @param workerId
|
* @param phoneOpen
|
*/
|
public void updatePhoneOpen(Long workerId, boolean phoneOpen);
|
|
}
|