test
This commit is contained in:
parent
fdad8c0b82
commit
9ebce259e0
2
sql.go
2
sql.go
@ -1222,7 +1222,7 @@ func getMsg(objId int64) (ChatWarsMessage, error) {
|
|||||||
func getObjSubTypeId(objId int64) (int64, error) {
|
func getObjSubTypeId(objId int64) (int64, error) {
|
||||||
var objSubTypeId int64
|
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 {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user