From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 23 五月 2020 09:54:38 +0800 Subject: [PATCH] 足迹、收藏订单兼容新需求 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/TeamFansInfoService.java | 127 ++++++++++++++++++++++++++++++++++++------ 1 files changed, 109 insertions(+), 18 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..95fcab0 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,118 @@ */ 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); + } -- Gitblit v1.8.0