From 3e4ef41ffacd7f5fda2e81c3810cd11a6375b83c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 15 六月 2020 16:32:35 +0800 Subject: [PATCH] 好单库转链支持 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/TeamFansInfoService.java | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 102 insertions(+), 17 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/TeamFansInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/TeamFansInfoService.java index ea494e7..c9c7d73 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/TeamFansInfoService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/TeamFansInfoService.java @@ -6,6 +6,7 @@ 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 { @@ -29,28 +30,112 @@ */ 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); - + /** + * 鏇存柊绮変笣鏁伴噺 + * @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 record + * 鏇存柊寰俊鍙� + * @param workerId + * @param weixinId */ - public void save(TeamFansInfo record); + 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); } -- Gitblit v1.8.0