根据excel创建标品修改

This commit is contained in:
苏尹岚
2020-04-14 16:12:41 +08:00
parent 9b1c4473c7
commit 0afab03d51

View File

@@ -1965,7 +1965,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader) (hint stri
if len(skuNames2) == 1 && (productInfo.SpecQuality == skuNames2[0].SpecQuality && productInfo.SpecUnit == skuNames2[0].SpecUnit) {
skuNames2[0].Upc = v.Upc
dao.UpdateEntity(db, skuNames2[0], "Upc")
return "", err
return result2, err
} else {
if v.Price == 0 {
result, err := api.AliUpcAPI.GetAliUpcInfo(*v.Upc)