1
This commit is contained in:
parent
25ff66cd9c
commit
b5c46e24f7
@ -88,8 +88,7 @@ func (this *stackingCec) saveToDb(ds *f5.DataSet) bool {
|
||||
p := new(itemSoldOut)
|
||||
if q5.DecodeJson(returnValues, p) == nil {
|
||||
decodeJsonOk = true
|
||||
var dbErr error
|
||||
f5.GetGoStyleDb().Upsert(
|
||||
dbErr, _, _ := f5.GetGoStyleDb().NewUpsert(
|
||||
constant.BCEVENT_DB,
|
||||
"t_staking_cec_record",
|
||||
[][]string{
|
||||
@ -111,9 +110,6 @@ func (this *stackingCec) saveToDb(ds *f5.DataSet) bool {
|
||||
{"amount", amount},
|
||||
{"createtime", createTime},
|
||||
{"modifytime", modifyTime},
|
||||
},
|
||||
func (err error, lastInsertId int64, rowsAffected int64) {
|
||||
dbErr = err
|
||||
})
|
||||
if dbErr != nil {
|
||||
return false
|
||||
|
Loading…
x
Reference in New Issue
Block a user