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