创建标品测试
This commit is contained in:
@@ -1874,9 +1874,10 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader, categoryID
|
||||
return retVal, err
|
||||
}
|
||||
skuNames, err := dao.GetSkuNames(db, nil, []string{*v.Upc}, "", false)
|
||||
fmt.Println(utils.Format4Output(err, false))
|
||||
fmt.Println(utils.Format4Output(v, false))
|
||||
fmt.Println(err.Error())
|
||||
fmt.Println("test1111111111111111111111111111", utils.Format4Output(skuNames, false))
|
||||
if len(skuNames) > 0 {
|
||||
fmt.Println("test111111111111111111111111111111111111111")
|
||||
retVal = []*CreateUpcSkuByExcelErr{buildCreateUpcSkuByExcelErr(v, "商品在京西库中已存在!")}
|
||||
return retVal, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user