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