1
This commit is contained in:
parent
26e7ae373d
commit
68e61a7591
@ -226,12 +226,14 @@ func RepairAllHeroNftQuality() error {
|
||||
for _, val := range batch {
|
||||
if !inited {
|
||||
sql += "?"
|
||||
inited = true
|
||||
} else {
|
||||
sql += ", ?"
|
||||
}
|
||||
q5.AppendSlice(¶ms, val.TokenId)
|
||||
tokenIdQualityHash[val.TokenId] = val
|
||||
}
|
||||
sql += ")"
|
||||
}
|
||||
f5.GetGoStyleDb().RawQuery(
|
||||
constant.GAME_DB,
|
||||
|
@ -4,6 +4,7 @@ import (
|
||||
"q5"
|
||||
"f5"
|
||||
"mt"
|
||||
"main/service"
|
||||
"jccommon"
|
||||
"main/constant"
|
||||
"time"
|
||||
@ -71,6 +72,7 @@ func (this* contribution) unInit() {
|
||||
}
|
||||
|
||||
func (this* contribution) stat(statTime int64, nowTime int64) {
|
||||
service.RepairAllHeroNftQuality()
|
||||
for true {
|
||||
if this.internalStat(statTime, nowTime) {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user