diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 2f11a7f52..a8f439efb 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -870,9 +870,23 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag globals.SugarLogger.Debugf("============offlineList : %s", utils.Format4Output(offlineList, false)) } if len(statusList) > 0 { + if storeID == 668428 { + globals.SugarLogger.Debugf("============statusList2 : %s", utils.Format4Output(statusList, false)) + globals.SugarLogger.Debugf("============storeSkuHandler : %s", utils.Format4Output(storeSkuHandler, false)) + } _, err = putils.FreeBatchStoreSkuInfo(name, func(task tasksch.ITask, batchedStoreSkuList []*partner.StoreSkuInfo) (result interface{}, successCount int, err error) { var failedList []*partner.StoreSkuInfoWithErr + if storeID == 668428 { + globals.SugarLogger.Debugf("============11111111111 : %s", utils.Format4Output(11111111111, false)) + } failedList, err = storeSkuHandler.UpdateStoreSkusStatus(ctx, storeDetail.VendorOrgCode, storeID, vendorStoreID, batchedStoreSkuList, status) + if storeID == 668428 { + globals.SugarLogger.Debugf("============22222222222222 : %s", utils.Format4Output(22222222222222, false)) + } + if storeID == 668428 { + globals.SugarLogger.Debugf("============failedList : %s", utils.Format4Output(failedList, false)) + globals.SugarLogger.Debugf("============err : %v", err) + } failedList, err = buildFailedListAndErr(failedList, err, batchedStoreSkuList, nil, storeID, vendorID, "更新门店商品状态") if len(failedList) > 0 { task.AddFailedList(failedList) diff --git a/business/model/dao/dao_order_sku_financial.go b/business/model/dao/dao_order_sku_financial.go index 86c752ea5..497e36e6a 100644 --- a/business/model/dao/dao_order_sku_financial.go +++ b/business/model/dao/dao_order_sku_financial.go @@ -2,7 +2,6 @@ package dao import ( "git.rosy.net.cn/jx-callback/business/model" - "git.rosy.net.cn/jx-callback/globals" "git.rosy.net.cn/jx-print/dao" "sort" "time" @@ -70,7 +69,6 @@ func GetBadCommentOrderId(jxStoreId int, startTime, endTime time.Time, foodNameL }) for k, v := range mathProbability { if v == values[0] { - globals.SugarLogger.Debugf("==========匹配概率=========mathProbability _vendor := %s", k) return k, nil } }