yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/ThreeSaleSerivceImpl.java
@@ -261,7 +261,7 @@
      if (list == null) {
         list = new ArrayList<ThreeSale>();
      }
      long countTotal = threeSaleMapper.countFirstTeam(uid);
      long countTotal = threeSaleMapper.countFirstTeam(uid, null);
      return organizeTeam(countTotal, list);
   }
@@ -271,7 +271,7 @@
      if (list == null) {
         list = new ArrayList<ThreeSale>();
      }
      long countTotal = threeSaleMapper.countSecondTeam(uid);
      long countTotal = threeSaleMapper.countSecondTeam(uid, null);
      return organizeTeam(countTotal, list);
   }
@@ -508,18 +508,39 @@
      return threeSaleMapper.listSecondTeam(start, count, uid, listId);
   }
   @Override
   public long countFirstTeam(Long uid) {
      return threeSaleMapper.countFirstTeam(uid);
      return threeSaleMapper.countFirstTeam(uid, null);
   }
   @Override
   public long countSecondTeam(Long uid) {
      return threeSaleMapper.countSecondTeam(uid);
      return threeSaleMapper.countSecondTeam(uid, null);
   }
   @Override
   public long countFirstTeam(Long uid, List<Long> listId) {
      return threeSaleMapper.countFirstTeam(uid, listId);
   }
   @Override
   public long countSecondTeam(Long uid, List<Long> listId) {
      return threeSaleMapper.countSecondTeam(uid, listId);
   }
   @Override
   public long countFirstTeamByDate(Long uid, int dayType) {
      return threeSaleMapper.countFirstTeamByDate(uid, dayType);
   }
   @Override
   public long countSecondTeamByDate(Long uid, int dayType) {
      return threeSaleMapper.countSecondTeamByDate(uid, dayType);
   }
   @Override
   public ThreeSale selectLatestByWorkerIdAndState(Long workerId, int state) {
      return threeSaleMapper.selectLatestByWorkerIdAndState(workerId, state);
   }