メモ追加
This commit is contained in:
parent
833b3613e8
commit
22f6f48bb1
|
@ -29,7 +29,7 @@ public class RewardDataImpl implements RewardData {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CompletableFuture<Integer> getTotalReward(String childId) {
|
||||
public CompletableFuture<Integer> getTotalReward(String childId) { // TODO: localCacheを使う
|
||||
return CompletableFuture.supplyAsync(() -> ksActions.syncHistory(childId).join().stream().mapToInt(HistoryModel::getReward).sum());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user