@@ -101,7 +101,7 @@ public class UserService {
//往前追溯的推荐人
userRelateMapper.selectByUid(row.getSpread_uid()).stream().forEach(innerRow -> {
- if(0 < num) {
+ if((0 < num) && (innerRow.getDate().isBefore(localDate))) {
resultList.add(UserCount.UserCountBuilder.anUserCount()
.withCreate_time(currentTime)
.withNum(num)