1
This commit is contained in:
@@ -1909,8 +1909,9 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
||||
}
|
||||
dao.Commit(db, txDB)
|
||||
|
||||
if isStoreMapNeedSync(vendorID, valid) || address != "" {
|
||||
if isUpdateStoreNeedSync(valid) { // 同步修改门店已经配送门店
|
||||
_, err = CurVendorSync.SyncStore(ctx, db, vendorID, storeID, false, userName)
|
||||
updateCourierStores(ctx, storeID)
|
||||
}
|
||||
|
||||
// 更新商品
|
||||
@@ -1923,7 +1924,7 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
|
||||
case 1:
|
||||
if singleStoreHandler != nil {
|
||||
// 直接同步商品
|
||||
err = syncStoreSkuNew(ctx, task, 0, true, vendorID, storeID, "", nil, nil, nil, false, true)
|
||||
err = syncStoreSkuNew(ctx, task, 0, false, vendorID, storeID, "", nil, nil, nil, false, true)
|
||||
}
|
||||
}
|
||||
return retVal, err
|
||||
|
||||
Reference in New Issue
Block a user