默认值给予0
This commit is contained in:
parent
7ca351f7cd
commit
0629ce51af
@ -56,7 +56,7 @@ public class OnlineMemberStatistics implements EveryHourExecute {
|
||||
|
||||
Calendar finalCalendar = calendar;
|
||||
|
||||
AtomicReference<Integer> lastNum = new AtomicReference<>(1);
|
||||
AtomicReference<Integer> lastNum = new AtomicReference<>(0);
|
||||
onlineMemberVOS = onlineMemberVOS.stream()
|
||||
.filter(onlineMemberVO -> {
|
||||
lastNum.set(onlineMemberVO.getNum());
|
||||
|
Loading…
x
Reference in New Issue
Block a user