From 9ebce259e019a3bcdd71e0ff240cb341d7650c8f Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 9 May 2019 17:35:24 +0800 Subject: [PATCH] test --- sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.go b/sql.go index 42923b3..52b3f20 100644 --- a/sql.go +++ b/sql.go @@ -1222,7 +1222,7 @@ func getMsg(objId int64) (ChatWarsMessage, error) { func getObjSubTypeId(objId int64) (int64, error) { var objSubTypeId int64 - stmt, err := db.Prepare(`SELECT o.sub_type_id FROM obj o WHERE o.id = ?`) + stmt, err := db.Prepare(`SELECT o.obj_sub_type_id FROM obj o WHERE o.id = ?`) if err != nil { return 0, err }