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.ThreeSaleFocusInfo;
|
|
public interface ThreeSaleFocusInfoService {
|
|
/**
|
* 查询
|
* @param start
|
* @param count
|
* @param type
|
* @param uid
|
* @param focusDTO
|
* @return
|
*/
|
public List<ThreeSaleFocusInfo> 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 ThreeSaleFocusInfo getbyWorkerId(Long workerId);
|
|
public void updateMemoName(Long workerId, int type, String memoName);
|
|
public void updateTags(Long workerId, int type, String tags);
|
|
public void updateNickName(Long workerId, String nickName);
|
|
public void updateStateValid(Long workerId, boolean stateValid);
|
|
public void updateTaobaoBind(Long workerId, boolean taobaoBind);
|
|
public void updateWeixinBind(Long workerId, boolean weixinBind);
|
|
public void updateActiveTime(Long workerId, Date activeTime);
|
|
public void updateFansNum(Long workerId);
|
|
public void updateIncome(Long workerId, BigDecimal income);
|
|
/**
|
* 添加
|
* @param record
|
*/
|
public void save(ThreeSaleFocusInfo record);
|
|
}
|