刷新物料店库存,商品上下架

This commit is contained in:
苏尹岚
2020-03-10 13:53:11 +08:00
parent 182b7dad31
commit 171ed76f87
11 changed files with 112 additions and 31 deletions

View File

@@ -312,7 +312,7 @@ func LoadExcelBinByYongHui(ctx *jxcontext.Context, reader io.Reader, isAsync, is
//如果微盟商品里找得到excel中的商品
if skuMap[spuCode] != nil {
//获取京西库商品
skuList, _ := dao.GetSkus(db, nil, []int{int(utils.Str2Int64(goodsDetail.SkuMap.SingleSku.OuterSkuCode))}, nil, nil)
skuList, _ := dao.GetSkus(db, nil, []int{int(utils.Str2Int64(goodsDetail.SkuMap.SingleSku.OuterSkuCode))}, nil, nil, nil)
if len(skuList) == 0 {
outPutData := DataFailed{
GoodsID: spuCode,