cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
‚x{[c@sqdZddlZddlmZddlZedƒZdZd„Zd„Z    d„Z
d    „Z d
„Z dS( sVersion = 2012-10-22 10:00iÿÿÿÿN(tmylogsConfig.DBConfigicCsEdS|d}x0ttƒD]"}t||ƒ}t||ƒqWdS(Nt tagDBPlayer(tranget Def_Job_Countt SumInfoByJobtDR_SumJobLVInfo(tdbt
playerColltitresult((s>.\ServerPython\db\PyMongoDataServer\EventShell\EventProcess.pyt OnDayProcess%s
 
cCs,tjƒj|t|ƒ|t|ƒƒdS(N(tEventShellProxytGetEventShellProxyt SendEventExtlen(t eventTypeStrtdataStr((s>.\ServerPython\db\PyMongoDataServer\EventShell\EventProcess.pyt SendEventPack5s(cCs^ttjjƒƒjdƒd|d<t|ƒ}tjƒj|t|ƒ|t|ƒƒdS(Ns.ittime(tstrtdatetimettodaytsplitR R R R(RtdataDictR((s>.\ServerPython\db\PyMongoDataServer\EventShell\EventProcess.pytSendEventPackByDictDs& (c CsÓ|jdidd6didd6dd6di|d    6d
d d d ƒ}tjdt|ƒƒittjjƒƒjdƒdd6}d}x/|D]'}|j|ƒ|t|ƒd}q“Wtjd|ƒ|S(NtkeyitLVtinitialitcountt    SilverSumt    conditiontJobtreduces@function(obj, prev) {prev.count++; prev.SilverSum += obj.Silver}tfinalizes;function(prev) {prev.SilverAve = prev.SilverSum/prev.count}s---------type: %ss.Rts
s%s(    tgroupRtinfottypeRRRRtupdate(Rtjobt    jobLVListttimeDicttjobLVStrtdictInfo((s>.\ServerPython\db\PyMongoDataServer\EventShell\EventProcess.pyROs          )  cCstd||ƒdS(NsSumJobLVInfo_%s(R(t    jobLVInfoR'((s>.\ServerPython\db\PyMongoDataServer\EventShell\EventProcess.pyRqs( t__doc__R tCommonRRt
__import__tDBConfigRR
RRRR(((s>.\ServerPython\db\PyMongoDataServer\EventShell\EventProcess.pyt<module>s                    "