畅销商品
This commit is contained in:
@@ -892,9 +892,9 @@ func uniqueStoreNameBind(skuBindInfos []*StoreSkuBindInfo) (outSkuBindInfos []*S
|
|||||||
}
|
}
|
||||||
|
|
||||||
func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs []int, skuBindInfos []*StoreSkuBindInfo, isScale bool) (needSyncSkus []int, err error) {
|
func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs []int, skuBindInfos []*StoreSkuBindInfo, isScale bool) (needSyncSkus []int, err error) {
|
||||||
if len(storeIDs)*len(skuBindInfos) > maxStoreNameBind2 {
|
// if len(storeIDs)*len(skuBindInfos) > maxStoreNameBind2 {
|
||||||
return nil, fmt.Errorf("门店商品信息大于%d", maxStoreNameBind2)
|
// return nil, fmt.Errorf("门店商品信息大于%d", maxStoreNameBind2)
|
||||||
}
|
// }
|
||||||
|
|
||||||
storeIDs = uniqueStoreIDs(storeIDs)
|
storeIDs = uniqueStoreIDs(storeIDs)
|
||||||
skuBindInfos = uniqueStoreNameBind(skuBindInfos)
|
skuBindInfos = uniqueStoreNameBind(skuBindInfos)
|
||||||
|
|||||||
Reference in New Issue
Block a user