testtestupdate

This commit is contained in:
shoopea 2019-05-11 13:42:46 +08:00
parent 21354ef97b
commit 9cb8e162bf

4
sql.go
View File

@ -1288,7 +1288,7 @@ func setObjSubTypeId(objId int64, objSubTypeID64 int64) error {
}
defer stmt.Close()
err = stmt.Exec(objSubTypeID64, objId)
_, err = stmt.Exec(objSubTypeID64, objId)
logOnError(err, "setObjSubTypeId : exec update")
return err
}
@ -1328,7 +1328,7 @@ func insertMsgReport(objId int64, war_date int32, atk int32, def int32, exp int3
}
func insertMsgAuctionAnnounce(m *ChatWarsMessageAuctionAnnounce) error {
objSubTypeId, err := getObjSubTypeId(m.MsgID64)
objSubTypeId, err := getObjSubTypeId(m.ObjID64)
if err != nil {
return err
}