From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java index 6cdf6b5..66f0820 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java @@ -19,7 +19,7 @@ */ UserInfo getBoss(long uid); - void bind(UserInfo invitee, UserInfo inviter) throws ThreeSaleException; + void bind(UserInfo worker, UserInfo boss) throws ThreeSaleException; /** * 閭�璇峰叧绯荤敓鏁� @@ -244,7 +244,7 @@ * @param threeSaleOld * @throws ThreeSaleException */ - public void bindRelationshipByWX(UserInfo invitee, Long inviterId, ThreeSale threeSaleOld) throws ThreeSaleException; + public void bindRelationshipByWX(UserInfo invitee, Long inviterId) throws ThreeSaleException; /** * 鏍规嵁涓嬬骇鏌ユ壘瀵硅薄 @@ -299,4 +299,25 @@ */ public ThreeSale getByWorkerIdAndTime(Long workerId, long time); + /** + * 閭�璇峰叧绯昏劚绂� + * @param workerId + * @param bossId + */ + public void inviteSeparate(Long workerId, Long bossId); + + + /* + * 璇ラ槦鍛� 鍦ㄩ槦涓帓绗嚑 + */ + public long getTeamOrderNumByWorkerId(Long workerId); + + /** + * 鏌ヨ鏈�杩戝叧绯� - 鏈夋晥鍒欎紭鍏� + * @param bossId + * @param workerId + * @return + */ + public ThreeSale getNearRelationByBossIdAndWorkerId(Long bossId, Long workerId); + } -- Gitblit v1.8.0