同步门店库存
This commit is contained in:
@@ -1215,11 +1215,13 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend
|
||||
outStoreMap = storeMap
|
||||
_, err = CurVendorSync.SyncStore(ctx, db, storeMap.VendorID, storeID, false, userName)
|
||||
} else {
|
||||
fmt.Println("test1", err.Error())
|
||||
dao.Rollback(db)
|
||||
}
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return outStoreMap, err
|
||||
}
|
||||
if vendorID == model.VendorIDJDShop {
|
||||
//绑定京东商城后,需要对绑定的门店现有的和模板店相同且可售的商品设置京东商城的门店库存
|
||||
//TODO SyncFlagSaleMask对京东商城来说,修改门店商品状态就是修改库存
|
||||
|
||||
Reference in New Issue
Block a user