From 4253fbcda7a65261ca64807d8a96867fd1724967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 26 Feb 2025 16:53:24 +0800 Subject: [PATCH] 1 --- business/partner/purchase/ebai/order.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/partner/purchase/ebai/order.go b/business/partner/purchase/ebai/order.go index 30ec38bf4..c1c03cb7a 100644 --- a/business/partner/purchase/ebai/order.go +++ b/business/partner/purchase/ebai/order.go @@ -260,7 +260,9 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo VendorOrgCode: utils.Interface2String(result["source"]), } + globals.SugarLogger.Debugf("----------------1") invoiceType, _ := utils.TryInterface2Int64(orderMap["invoice_type"]) + globals.SugarLogger.Debugf("----------------2") switch invoiceType { case 2: // 纸质发票 order.InvoiceEmail += "(纸质发票)" @@ -268,6 +270,7 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo order.InvoiceEmail += "(电子发票)" default: // 不需要或者错误 } + globals.SugarLogger.Debugf("----------------3") finishTime := getTimeFromInterface(orderMap["finished_time"]) if finishTime == utils.ZeroTimeValue {