1
This commit is contained in:
@@ -1321,6 +1321,10 @@ func updateOrCreateSkuVendorCategoryMap(db *dao.DaoDB, ctx *jxcontext.Context, n
|
|||||||
updateOrCreate(model.VendorIDJD, nameID, jdCategoryId)
|
updateOrCreate(model.VendorIDJD, nameID, jdCategoryId)
|
||||||
flag = true
|
flag = true
|
||||||
}
|
}
|
||||||
|
if jxCategoryID != 0 && jxCategoryID != 291 {
|
||||||
|
dao.ExecuteSQL(dao.GetDB(), `UPDATE sku_name SET category_id = ? WHERE id = ?`, []interface{}{jxCategoryID, nameID}...)
|
||||||
|
flag = true
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return flag
|
return flag
|
||||||
|
|||||||
Reference in New Issue
Block a user