This commit is contained in:
shoopea 2019-05-09 17:35:24 +08:00
parent fdad8c0b82
commit 9ebce259e0

2
sql.go
View File

@ -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
}