udpate g deposit all

This commit is contained in:
shoopea 2019-08-30 11:10:04 +08:00
parent b6ddfc7194
commit 13a0e3a9de

4
bot.go
View File

@ -659,10 +659,10 @@ func botGDepositAll(m *tb.Message) {
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`24`, `Purified Powder`))
p.ResObjID64 = append(p.ResObjID64, getObjItemID(`31`, `Rope`))
list := getSQLListID64(`select o.id from obj o where o.obj_sub_type_id = ` + strconv(objSubTypeItemRecipe) + `;`)
list := getSQLListID64(fmt.Sprintf("select o.id from obj o where o.obj_sub_type_id = %d;", objSubTypeItemRecipe))
p.ResObjID64 = append(p.ResObjID64, list...)
list = getSQLListID64(`select o.id from obj o where o.obj_sub_type_id = ` + strconv(objSubTypeItemPart) + `;`)
list = getSQLListID64(fmt.Sprintf("select o.id from obj o where o.obj_sub_type_id = %d;", objSubTypeItemPart))
p.ResObjID64 = append(p.ResObjID64, list...)
/*