This commit is contained in:
shoopea 2019-05-11 13:43:07 +08:00
parent 9cb8e162bf
commit 840b02287d

2
sql.go
View File

@ -1279,8 +1279,6 @@ func getObjSubTypeId(objId int64) (int64, error) {
}
func setObjSubTypeId(objId int64, objSubTypeID64 int64) error {
var objSubTypeId int64
stmt, err := db.Prepare(`UPDATE obj o SET o.obj_sub_type_id = ? WHERE o.id = ?l`)
logOnError(err, "setObjSubTypeId : prepare update")
if err != nil {