diff --git a/business/jxcallback/orderman/orderman_ext.go b/business/jxcallback/orderman/orderman_ext.go index a802c492a..f5f12d094 100644 --- a/business/jxcallback/orderman/orderman_ext.go +++ b/business/jxcallback/orderman/orderman_ext.go @@ -488,6 +488,14 @@ func (c *OrderManager) ExportOrders(ctx *jxcontext.Context, fromDateStr, toDateS var afsSkuMapObj = make(map[string]bool, 0) for _, v := range orders { if afsInfo := afsSkuMap[jxutils.ComposeUniversalOrderID(v.VendorOrderID, v.VendorID)]; afsInfo != nil { + if orders[0].VendorOrderID == "301782063256040331" { + globals.SugarLogger.Debugf("----SkuShopPrice:- %d", v.SkuShopPrice) + globals.SugarLogger.Debugf("----SkuEarningPrice:- %d", v.SkuEarningPrice) + globals.SugarLogger.Debugf("----SkuSalePrice:- %d", v.SkuSalePrice) + globals.SugarLogger.Debugf("----SkuCount2:- %d", v.SkuCount2) + globals.SugarLogger.Debugf("----SkuID:- %d", v.SkuID) + globals.SugarLogger.Debugf("----afsSkuMap:- %s", utils.Format4Output(afsInfo, false)) + } if afsInfo[v.SkuID] != nil && afsInfo[v.SkuID].Count >= 0 { minus := afsInfo[v.SkuID].Count if minus > v.SkuCount2 {