From e265881fa0d83b8767cadf7b1c83c71b80b5bb6d Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期二, 17 十二月 2019 10:39:24 +0800 Subject: [PATCH] 隐藏好店 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 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 8950bb5..2be47b9 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 @@ -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; /** * 鏍规嵁涓嬬骇鏌ユ壘瀵硅薄 @@ -252,6 +252,15 @@ * @return */ public ThreeSale selectByWorkerId(Long workerId); + + + /** + * 鏌ヨ鏈�杩戜竴鏉℃暟鎹紙鏍规嵁涓嬬骇鐢ㄦ埛ID涓庣姸鎬侊級 + * @param workerId + * @param state + * @return + */ + public ThreeSale selectLatestByWorkerIdAndState(Long workerId,int state); /** * 鏃堕棿娈靛憿 閭�璇锋垚鍔熶俊鎭� @@ -282,4 +291,33 @@ */ public List<ThreeSale> listSecondTeam(long start, int count, Long uid, Integer state); + /** + * 鏌ヨ閭�璇峰叧绯� 鏃堕棿绛涢�� + * @param workerId 涓嬬骇id + * @param time + * @return + */ + 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