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