Fix: request history and ranking record with maestroID

This commit is contained in:
2018-05-31 17:47:11 +09:00
parent cec653abb7
commit 7341be330f
9 changed files with 35 additions and 21 deletions
+1
View File
@@ -16,6 +16,7 @@ class HistoryBoard {
let today = new Date();
let date = DateUtil.getYYYYMMDD(today);
this.dbConnectManager.requestPlayerHistory(
sessionStorageManager.maestroID,
date,
historyRecordManager => {
if(historyRecordManager.count == 0) {
+1 -1
View File
@@ -17,7 +17,7 @@ class RankingBoard {
let date = DateUtil.getYYYYMMDD(today);
let time = DateUtil.getHHMMSS(today);
this.dbConnectManager.requestRanking(
type, date, time,
type, sessionStorageManager.maestroID, date, time,
(type, rankingRecordManager) => {
if(rankingRecordManager.count == 0) {
console.log("ranking board - no data");