libo 4 gadi atpakaļ
vecāks
revīzija
683b3e785c

+ 1 - 1
src/main/java/com/tdba/cxb/ares/api/service/UserService.java

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