1
This commit is contained in:
parent
0bbb765c8d
commit
12ba69e75f
@ -61,7 +61,7 @@ func (this *vip) AddEx(accountAddress string, val string, idx int64, valField st
|
|||||||
updateKv = append(updateKv, extKv...)
|
updateKv = append(updateKv, extKv...)
|
||||||
insertKv = append(insertKv, extKv...)
|
insertKv = append(insertKv, extKv...)
|
||||||
if ds.Next() {
|
if ds.Next() {
|
||||||
if q5.ToInt64(ds.GetByName(idxField)) <= idx {
|
if q5.ToInt64(ds.GetByName(idxField)) >= idx {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
err1, _, _ := f5.GetGoStyleDb().NewUpdate(
|
err1, _, _ := f5.GetGoStyleDb().NewUpdate(
|
||||||
|
@ -95,7 +95,7 @@ func (this *stackingCec) saveToDb(ds *f5.DataSet) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
} else if eventName == EVENT_NAME_UNSTAKE_CEC {
|
} else if eventName == EVENT_NAME_UNSTAKE_CEC {
|
||||||
if service.Vip.Add(
|
if !service.Vip.Add(
|
||||||
p.Account,
|
p.Account,
|
||||||
"-" + p.Amount,
|
"-" + p.Amount,
|
||||||
idx,
|
idx,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user