绑定京东上层门店
This commit is contained in:
@@ -1224,7 +1224,7 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend
|
||||
if vendorID == model.VendorIDJDShop {
|
||||
//绑定京东商城后,需要对绑定的门店现有的和模板店相同且可售的商品设置京东商城的门店库存
|
||||
//TODO SyncFlagSaleMask对京东商城来说,修改门店商品状态就是修改库存
|
||||
if _, err = SetStoreSkuSyncStatus2(db, nil, []int{model.VendorIDJDShop}, findSkusBetweenJdsMainStore(db, storeID), model.SyncFlagSaleMask); err == nil {
|
||||
if _, err = SetStoreSkuSyncStatus2(db, []int{storeID}, []int{model.VendorIDJDShop}, findSkusBetweenJdsMainStore(db, storeID), model.SyncFlagSaleMask); err == nil {
|
||||
// CurVendorSync.SyncStoresSkus(ctx, nil, 0, db, nil, []int{storeID}, nil, false, true, true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user