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