メモ追加

This commit is contained in:
rca 2024-07-09 04:39:48 +09:00
parent 833b3613e8
commit 22f6f48bb1

View File

@ -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());
}
}