This commit is contained in:
邹宗楠
2024-02-05 17:16:54 +08:00
parent f72cdc368c
commit 031f64a902
2 changed files with 4 additions and 0 deletions

View File

@@ -1919,6 +1919,8 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
valid["address"] = address
}
globals.SugarLogger.Debugf("=valid============ : %s", utils.Format4Output(valid, false))
globals.SugarLogger.Debugf("=valid============ : %s", utils.Format4Output(isUpdateStoreNeedSync(valid), false))
if isUpdateStoreNeedSync(valid) { // 同步修改门店已经配送门店
_, err = CurVendorSync.SyncStore(ctx, db, vendorID, storeID, false, userName) // address原来的userName 因为storeMap无法保存address,所以美团暂时使用该参数代替
//updateCourierStores(ctx, storeID)