Server/eventdata/OnlinePlayer.py
@@ -18,6 +18,7 @@
    logging.info("queryOnlinePlayerInfo %s" % str(argvDict))
    startDate = argvDict.get("startDate", "")
    endDate = argvDict.get("endDate", "")
    onlyServerIDHis = argvDict.get("onlyServerIDHis", "") # 只查备档单服数据
    
    # 查询中心备份的
    if CommFunc.isQueryCenterbak(argvDict):
@@ -25,8 +26,12 @@
        return
    
    drInfo = {}
    if not onlyServerIDHis:
    needQueryCenterbak = CommFunc.loopMainServerDR(cfg, startDate, endDate, argvDict, checkDrFileNeedParseFunc_OnlinePlayerInfo,
                                                   parseLineFunc_OnlinePlayerInfo, drInfo, drNameList=DRNameList)
    else:
        logging.info("onlyServerIDHis %s" % argvDict.get("OnlyServerID", ""))
        needQueryCenterbak = True
    logging.info("needQueryCenterbak=%s" % needQueryCenterbak)
    if needQueryCenterbak:
        bakDataInfo = CommFunc.queryBackupCenterDR(cfg, argvDict)