From d6e889bca84c6a9ad260501e3737978496b07754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 1 Jul 2024 09:08:30 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/orderman_ext.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index d25f2c0ae..d34959393 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -452,6 +452,10 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS var order *model.GoodsOrderExt var orders2 []*model.GoodsOrderExt for _, v := range orders { + if v.VendorOrderID == "601112850243823799" { + globals.SugarLogger.Debugf("==========vendorOrder %s", utils.Format4Output(v, false)) + globals.SugarLogger.Debugf("==========afsInfo %s", utils.Format4Output(afsSkuMap[jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID)], false)) + } if afsInfo := afsSkuMap[jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID)]; afsInfo != nil { if afsInfo[v.SkuID] != nil && afsInfo[v.SkuID].Count >= 0 { minus := afsInfo[v.SkuID].Count