コード例 #1
0
        protected void onAddNewTask(object sender, EventArgs e)
        {
            GMUser       user  = (GMUser)Session["user"];
            ServiceParam param = new ServiceParam();

            param.m_toServerIP = user.m_dbIP;
            OpRes res = RemoteMgr.getInstance().reqDoService(param, ServiceType.serviceTypeUpdatePlayerTask);

            m_res.InnerHtml = OpResMgr.getInstance().getResultString(res);
        }
コード例 #2
0
    public override OpRes doExport(object param, GMUser user)
    {
        ParamQuery p = (ParamQuery)param;

        ExportParam ep = new ExportParam();

        ep.m_account = user.m_user;
        // 这个服务器上的成就
        ep.m_dbServerIP = user.m_dbIP;
        ep.m_tableName  = TableName.PLAYER_INFO;
        ep.m_condition  = new Dictionary <string, object>();
        ep.m_condition.Add("sel", (int)p.m_way);
        ep.m_condition.Add("count", (int)p.m_countEachPage);
        return(RemoteMgr.getInstance().reqExportExcel(ep));
    }
コード例 #3
0
    public override OpRes doExport(object param, GMUser user)
    {
        m_cond.startExport();
        QueryMgr mgr = user.getSys <QueryMgr>(SysType.sysTypeQuery);
        OpRes    res = mgr.makeQuery(param, QueryType.queryTypeMoney, user, m_cond);

        if (res != OpRes.opres_success)
        {
            return(res);
        }

        ExportParam ep = new ExportParam();

        ep.m_account    = user.m_user;
        ep.m_dbServerIP = user.m_dbIP;
        ep.m_tableName  = TableName.PUMP_PLAYER_MONEY;
        ep.m_condition  = m_cond.getCond();
        return(RemoteMgr.getInstance().reqExportExcel(ep));
    }
コード例 #4
0
    public override OpRes doExport(object param, GMUser user)
    {
        m_cond.startExport();
        StatMgr mgr = user.getSys <StatMgr>(SysType.sysTypeStat);
        OpRes   res = mgr.makeQuery(param, StatType.statTypeRechargePlayer, user, m_cond);

        if (res != OpRes.opres_success)
        {
            return(res);
        }

        ExportParam ep = new ExportParam();

        ep.m_account    = user.m_user;
        ep.m_dbServerIP = user.m_dbIP;
        ep.m_tableName  = TableName.PUMP_RECHARGE_PLAYER;
        ep.m_condition  = m_cond.getCond();
        return(RemoteMgr.getInstance().reqExportExcel(ep));
    }
コード例 #5
0
    public override OpRes doExport(object param, GMUser user)
    {
        m_cond.startExport();
        QueryMgr mgr = user.getSys <QueryMgr>(SysType.sysTypeQuery);
        OpRes    res = mgr.makeQuery(param, QueryType.queryTypeRecharge, user, m_cond);

        if (res != OpRes.opres_success)
        {
            return(res);
        }

        ExportParam ep = new ExportParam();

        ep.m_account    = user.m_user;
        ep.m_dbServerIP = WebConfigurationManager.AppSettings["payment"];
        ep.m_tableName  = "recharge";
        ep.m_condition  = m_cond.getCond();
        // 当前用户操作的DB服务器
        ep.m_condition.Add("userOpDbIp", user.m_dbIP);
        return(RemoteMgr.getInstance().reqExportExcel(ep));
    }