From d5c2554ebae75afbff31c3c2966cc3a747ba941c Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期一, 27 四月 2020 15:00:13 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java | 34 ++++++++++++++++++---------------- 1 files changed, 18 insertions(+), 16 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 00f0d1e..4c7874e 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 @@ -28,7 +28,6 @@ */ void effective(UserInfo worker); - /** * 涓�绾ф煡璇� * @@ -70,8 +69,6 @@ public List<ThreeSale> listSuperiorQuery(long start, int count, Integer state, Long uid); public long countSuperiorQuery(Integer state, Long uid); - - /** * 鍓嶇鏌ヨ涓�绾ч槦鍛� @@ -130,7 +127,6 @@ */ public int getSuccessRelationshipNum(Long uid); - /** * 鏍规嵁閭�璇疯�呮煡璇㈠叧绯� * @@ -147,22 +143,21 @@ * @throws ThreeSaleException */ public void bindInviteRelationship(Long workerId, Long bossId) throws ThreeSaleException; - + /** * 鏍规嵁涓嬬骇鏌ユ壘瀵硅薄 * @param workerId * @return */ public ThreeSale selectByWorkerId(Long workerId); - - + /** * 鏌ヨ鏈�杩戜竴鏉℃暟鎹紙鏍规嵁涓嬬骇鐢ㄦ埛ID涓庣姸鎬侊級 * @param workerId * @param state * @return */ - public ThreeSale selectLatestByWorkerIdAndState(Long workerId,int state); + public ThreeSale selectLatestByWorkerIdAndState(Long workerId, int state); /** * 鏃堕棿娈靛憿 閭�璇锋垚鍔熶俊鎭� @@ -193,7 +188,6 @@ */ public List<ThreeSale> listSecondTeam(long start, int count, Long uid); - /** * 缁熻鐩存帴绮変笣鏁伴噺 * @@ -208,7 +202,7 @@ * @return */ public long countSecondTeam(Long uid); - + /** * 鏌ヨ閭�璇峰叧绯� 鏃堕棿绛涢�� * @param workerId 涓嬬骇id @@ -224,7 +218,6 @@ */ public void inviteSeparate(Long workerId, Long bossId); - /* * 璇ラ槦鍛� 鍦ㄩ槦涓帓绗嚑 */ @@ -245,8 +238,7 @@ * @return */ public List<ThreeSale> getValidWorkerIdsByTime(Long bossId, long limitTime); - - + /** * 鑾峰彇涓婂嚑绾ч個璇蜂汉 * @Title: getMyBossDeepList @@ -257,9 +249,8 @@ * List<ThreeSale> 杩斿洖绫诲瀷 * @throws */ - public List<ThreeSale> getMyBossDeepList(Long uid,int deep); - - + public List<ThreeSale> getMyBossDeepList(Long uid, int deep); + /** * 鑾峰彇涓婄骇鍒楄〃 * @Title: getMyBossDeepList @@ -271,4 +262,15 @@ */ public List<ThreeSale> getMyBossDeepList(Long uid); + /** + * 鑾峰彇鐢ㄦ埛鐨勯《绾oss + * @Title: getTopBoss + * @Description: + * @param uid + * @return + * Long 杩斿洖绫诲瀷 + * @throws + */ + public Long getTopBoss(Long uid); + } -- Gitblit v1.8.0