| | |
| | |
|
| | | import com.yeshi.fanli.dto.user.ThreeSaleFocusDTO;
|
| | | import com.yeshi.fanli.entity.bus.user.TeamFansInfo;
|
| | | import com.yeshi.fanli.entity.bus.user.vip.UserLevelEnum;
|
| | |
|
| | | public interface TeamFansInfoService {
|
| | |
|
| | |
| | | */
|
| | | public TeamFansInfo 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(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);
|
| | |
|
| | | /**
|
| | | * 更新等级
|
| | | * @param workerId
|
| | | * @param level
|
| | | */
|
| | | public void updateLevel(Long workerId, UserLevelEnum level);
|
| | |
|
| | | /**
|
| | | * 添加粉丝信息
|
| | | * @param workerId
|
| | | * @param bossId
|
| | | */
|
| | | public void addFansInfo(Long workerId, Long bossId, Date successTime);
|
| | |
|
| | | /**
|
| | | * 根据用户信息匹配
|
| | | * @param key
|
| | | * @return
|
| | | */
|
| | | public List<TeamFansInfo> queryByUserInfo(String key);
|
| | |
|
| | | }
|