From 7a32fb84fa0f6f66be61a8e9b3259c29ebf52ecf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 7 Sep 2020 10:22:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=AF=BC=E5=87=BA=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxcallback/orderman/orderman_ext.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index 3bf1bd679..fb4c35bb9 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -314,6 +314,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS for _, v := range orders { if afsInfo := afsSkuMap[jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID)]; afsInfo != nil { if afsInfo[v.SkuID] != nil && afsInfo[v.SkuID].Count > 0 { + fmt.Println("test333333333333333333333333333333333333333333333333333333333", utils.Format4Output(afsInfo[v.SkuID], false)) minus := afsInfo[v.SkuID].Count if minus > v.SkuCount2 { minus = v.SkuCount2 @@ -322,6 +323,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS afsInfo[v.SkuID].Count -= minus } } + fmt.Println("test22222222222222222222222222222222222222222222", v.SkuCount2) if v.SkuCount2 > 0 { var skuStr string if beego.BConfig.RunMode == "jxgy" { @@ -363,6 +365,7 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS } } orders = orders2 + fmt.Println("test111111111111111111111111111111111111111111111111", utils.Format4Output(orders, false)) case 3: excelConf := &excel.Obj2ExcelSheetConfig{ Title: "订单导出",