饿鲜达部分商品增加默认价格和分类

This commit is contained in:
苏尹岚
2020-02-18 11:12:12 +08:00
parent fa28f3b30c
commit bbc03c7ba0

View File

@@ -1538,12 +1538,10 @@ func CopyEbaiSkuPriceToJx(ctx *jxcontext.Context) (err error) {
JOIN sku b ON a.id = b.name_id
SET a.price = ?,a.category_id = ?
WHERE a.upc = ?
AND b.exd_sku_id = ?
`
sqlParams := []interface{}{
price, skuName.ID,
v["upc"].(string),
v["sku_id"].(string),
}
dao.ExecuteSQL(db, sql, sqlParams)
}