This commit is contained in:
苏尹岚
2021-03-26 16:13:17 +08:00
parent 8e561af698
commit 559908276d

View File

@@ -2080,7 +2080,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader, categoryID
sqlParams := []interface{}{*v.Upc, utils.DefaultTimeValue}
err = dao.GetRows(db, &skuNames, sql, sqlParams)
if len(skuNames) > 0 {
retVal = []*CreateUpcSkuByExcelErr{buildCreateUpcSkuByExcelErr(v, "商品在京西库中已存在!")}
// retVal = []*CreateUpcSkuByExcelErr{buildCreateUpcSkuByExcelErr(v, "商品在京西库中已存在!")}
return retVal, err
}
productInfos, err := GetJdUpcCodeByCode(ctx, *v.Upc)