From ee1d39f11b9483b64a88029f1755a6e7166fea15 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期日, 26 四月 2020 16:49:21 +0800 Subject: [PATCH] 等级显示问题 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/invite/ThreeSaleSerivce.java | 141 ++++++++--------------------------------------- 1 files changed, 24 insertions(+), 117 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 94c6792..00f0d1e 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,47 +28,6 @@ */ void effective(UserInfo worker); - // 鑾峰彇涓�绾х敤鎴锋暟閲� - long getFirstUsersCount(Long uid); - - // 鑾峰彇浜岀骇鐢ㄦ埛鏁伴噺 - long getSecondUsersCount(Long uid); - - /** - * 鏌ヨ涓�搴﹂槦鍛橀泦鍚� - * - * @param start - * @param count - * @param key - * @param uid - * @return - */ - public List<ThreeSale> queryMyFirstTeamList(int start, int count, String key, Long bossId); - - public long queryCountMyFirstTeamList(String key, Long bossId); - - /** - * 鏌ヨ浜屽害闃熷憳闆嗗悎 - * - * @param start - * @param count - * @param key - * @param uid - * @return - */ - public List<ThreeSale> queryMySecondTeamList(int start, int count, String key, Long bossId); - - public long queryCountMySecondTeamList(String key, Long bossId); - - /** - * 鍒犻櫎閭�璇峰叧绯籭d - * - * @param id - * @return - */ - public int deleteByPrimaryKey(Long id); - - /** * 涓�绾ф煡璇� @@ -81,9 +40,9 @@ * @return */ public List<ThreeSale> listFirstTeamQuery(long start, int count, Long uid, Integer state, String startTime, - String endTime); + String endTime, Integer validState); - public long countFirstTeamQuery(Long uid, Integer state, String startTime, String endTime); + public long countFirstTeamQuery(Long uid, Integer state, String startTime, String endTime, Integer validState); /** * 浜岀骇鏌ヨ @@ -96,9 +55,9 @@ * @return */ public List<ThreeSale> listSecondTeamQuery(long start, int count, Long uid, Integer state, String startTime, - String endTime); + String endTime, Integer validState); - public long countSecondTeamQuery(Long uid, Integer state, String startTime, String endTime); + public long countSecondTeamQuery(Long uid, Integer state, String startTime, String endTime, Integer validState); /** * 涓婄骇鏌ヨ @@ -113,25 +72,6 @@ public long countSuperiorQuery(Integer state, Long uid); - /** - * 缁熻鎵�鏈変竴绾ч槦鍛� - * - * @param uid - * @param state - * 鐘舵�侊紝鍊� 涓虹┖鏃跺垯缁熻鎵�鏈� - * @return - */ - public long countFirstTeam(Long uid, Integer state); - - /** - * 缁熻浜岀骇闃熷憳 - * - * @param uid - * @param state - * 鐘舵�侊紝鍊� 涓虹┖鏃跺垯缁熻鎵�鏈� - * @return - */ - public long countSecondTeam(Long uid, Integer state); /** * 鍓嶇鏌ヨ涓�绾ч槦鍛� @@ -141,7 +81,7 @@ * @param uid * @return */ - public JSONObject getMyFirstTeam(long start, int count, Long uid, Integer state); + public JSONObject getMyFirstTeam(long start, int count, Long uid); /** * 鍓嶇鏌ヨ浜岀骇闃熷憳 @@ -151,7 +91,7 @@ * @param uid * @return */ - public JSONObject getMySecondTeam(long start, int count, Long uid, Integer state); + public JSONObject getMySecondTeam(long start, int count, Long uid); /** * 鑾峰彇涓婄骇 @@ -190,14 +130,6 @@ */ public int getSuccessRelationshipNum(Long uid); - - /** - * 缁熻閭�璇锋垚鍔熼槦鍛樻暟閲� - * - * @param uid - * @return - */ - public long countSuccessFirstTeam(Long uid); /** * 鏍规嵁閭�璇疯�呮煡璇㈠叧绯� @@ -249,7 +181,7 @@ * @param state * @return */ - public List<ThreeSale> listFirstTeam(long start, int count, Long uid, Integer state); + public List<ThreeSale> listFirstTeam(long start, int count, Long uid); /** * 浜岀骇闃熷憳 @@ -259,8 +191,24 @@ * @param state * @return */ - public List<ThreeSale> listSecondTeam(long start, int count, Long uid, Integer state); + public List<ThreeSale> listSecondTeam(long start, int count, Long uid); + + /** + * 缁熻鐩存帴绮変笣鏁伴噺 + * + * @param uid + * @return + */ + public long countFirstTeam(Long uid); + + /** + * 缁熻闂存帴绮変笣鏁伴噺 + * @param uid + * @return + */ + public long countSecondTeam(Long uid); + /** * 鏌ヨ閭�璇峰叧绯� 鏃堕棿绛涢�� * @param workerId 涓嬬骇id @@ -322,46 +270,5 @@ * @throws */ public List<ThreeSale> getMyBossDeepList(Long uid); - - /** - * 鏌ヨ鏈垹闄ょ増-绮変笣涓�绾� - * @param start - * @param count - * @param uid - * @return - */ - public List<ThreeSale> listFirstTeamByUndeleted(long start, int count, Long uid); - - /** - * 缁熻绮変笣涓�绾� - * @param uid - * @return - */ - public long countFirstTeamByUndeleted(Long uid); - - /** - * 鏌ヨ鏈垹闄ょ増-绮変笣浜岀骇 - * @param start - * @param count - * @param uid - * @return - */ - public List<ThreeSale> listSecondTeamByUndeleted(long start, int count, Long uid); - - /** - * 缁熻绮変笣浜岀骇 - * @param uid - * @return - */ - public long countSecondTeamByUndeleted(Long uid); - - - /** - * 鍒犻櫎鑴辩闃熷憳 - * @param id - * @param uid - * @param tid - */ - public void remvoeBreak(Long id, Long uid, Long tid); } -- Gitblit v1.8.0