This commit is contained in:
苏尹岚
2020-11-27 09:18:05 +08:00
parent 2b1dde2931
commit 6fa46bebb6

View File

@@ -894,6 +894,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
}
attrsProp = append(attrsProp, attrrmsj)
}
//牛肉创建不一样
if storeSku.VendorVendorCatID == jdshopapi.JdsBeefCatID {
var exValueID int64
values2, _, err2 := getAPI(storeSku.VendorOrgCode).FindValuesByAttrId(150390)
@@ -908,6 +909,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
AttrValues: []string{utils.Int64ToStr(exValueID)},
}
attrsProp = append(attrsProp, attrex)
wareSaveParam.LastCategoryID = 17902
}
attrZctj := &jdshopapi.CreateSkuParamAttrs{
AttrID: utils.Int2Str(attrIDs["贮存条件"]),