From e640a0d2ed181cd8e15a6dfb056045b8ad5e78d5 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Sun, 29 Jan 2023 10:58:51 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/sync.go | 1 - business/partner/purchase/tiktok_store/store.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 7c2a82b48..120ef51df 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -310,7 +310,6 @@ func (v *VendorSync) SyncStore2(ctx *jxcontext.Context, db *dao.DaoDB, vendorIDs if err == nil { resultList = []interface{}{1} if model.IsSyncStatusNew(storeMap.SyncStatus) { - globals.SugarLogger.Debug("sahsh进入model.IsSyncStatusNew(storeMap.SyncStatus)") storeMap.VendorStoreID = vendorStoreID storeMap.SyncStatus = 0 _, err = dao.UpdateEntity(db, storeMap, "VendorStoreID", model.FieldSyncStatus) diff --git a/business/partner/purchase/tiktok_store/store.go b/business/partner/purchase/tiktok_store/store.go index 959827b27..b54a7f685 100644 --- a/business/partner/purchase/tiktok_store/store.go +++ b/business/partner/purchase/tiktok_store/store.go @@ -373,7 +373,7 @@ func (P *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName strin storeInfo, err = dao.GetStoreDetail(db, storeID, model.VendorIDDD, "") apiObj := getAPI(storeInfo.VendorOrgCode, storeID, storeInfo.VendorStoreID) //判断是否需要更新 - if !IsNeedStoreUpdate(storeInfo, utils.Int2Str(storeID)) { + if !IsNeedStoreUpdate(storeInfo, storeInfo.VendorStoreID) { return nil } else { if storeInfo.OpenTime1 != 0 && storeInfo.CloseTime1 != 0 {