From b66a3a08529e61a7f9d85f98eeb2390d201ebb88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 30 Jan 2024 13:49:52 +0800 Subject: [PATCH] 1 --- business/jxcallback/scheduler/defsch/defsch_ext.go | 1 - business/partner/printer/trendit/trendit.go | 8 ++++---- business/partner/printer/xpyun/xpyun.go | 12 ++++++------ 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/business/jxcallback/scheduler/defsch/defsch_ext.go b/business/jxcallback/scheduler/defsch/defsch_ext.go index a2bea512b..f719bc95f 100644 --- a/business/jxcallback/scheduler/defsch/defsch_ext.go +++ b/business/jxcallback/scheduler/defsch/defsch_ext.go @@ -298,7 +298,6 @@ func (s *DefScheduler) CreateWaybillOnProvidersEx(ctx *jxcontext.Context, vendor excludeCourierVendorIDs = append(excludeCourierVendorIDs, k) } - globals.SugarLogger.Debugf("===excludeCourierVendorIDs===========:%s", utils.Format4Output(excludeCourierVendorIDs, false)) billFunc := func() { bills, err = func() (bills []*model.Waybill, err error) { if vendorID == model.VendorIDELM { diff --git a/business/partner/printer/trendit/trendit.go b/business/partner/printer/trendit/trendit.go index 2d08b6fe8..2d67ebf6f 100644 --- a/business/partner/printer/trendit/trendit.go +++ b/business/partner/printer/trendit/trendit.go @@ -477,9 +477,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, title, ) orderFmt += `共%d种%d件商品 -实付金额: %s --------------#%d完-------------` - orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) + /*实付金额: %s*/ + orderParams = append(orderParams, order.SkuCount, order.GoodsCount /* jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq) return fmt.Sprintf(orderFmt, orderParams...) } @@ -518,8 +518,8 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde ) orderFmt += xpyunapi.StrRepeat("-", 32) orderFmt += `共%d种%d件商品 -实付金额: %s --------------#%d完-------------` - orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) + /*实付金额: %s*/ + orderParams = append(orderParams, order.SkuCount, order.GoodsCount /*jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq) return fmt.Sprintf(orderFmt, orderParams...) } diff --git a/business/partner/printer/xpyun/xpyun.go b/business/partner/printer/xpyun/xpyun.go index 0641f4623..1a27bd09a 100644 --- a/business/partner/printer/xpyun/xpyun.go +++ b/business/partner/printer/xpyun/xpyun.go @@ -471,10 +471,10 @@ func (c *PrinterHandler) getCancelOrRefundOrderContent(order *model.GoodsOrder, order.OrderSeq, ) orderFmt += xpyunapi.StrRepeat("-", 32) - orderFmt += `共%d种%d件商品 -实际支付:%s
` + orderFmt += `共%d种%d件商品` + /*实际支付:%s
`*/ orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完" + xpyunapi.StrRepeat("-", 14) + `
` - orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) + orderParams = append(orderParams, order.SkuCount, order.GoodsCount /*jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq) return fmt.Sprintf(orderFmt, orderParams...) } @@ -516,9 +516,9 @@ func (c *PrinterHandler) getCancelOrRefundOrderContentBig(order *model.GoodsOrde order.OrderSeq, ) orderFmt += xpyunapi.StrRepeat("-", 32) - orderFmt += `共%d种%d件商品 -实际支付:%s
` + orderFmt += `共%d种%d件商品` + /*实际支付:%s
`*/ orderFmt += xpyunapi.StrRepeat("-", 14) + "#%d完" + xpyunapi.StrRepeat("-", 14) + `
` - orderParams = append(orderParams, order.SkuCount, order.GoodsCount, jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice), order.OrderSeq) + orderParams = append(orderParams, order.SkuCount, order.GoodsCount /*jxutils.IntPrice2StandardCurrencyString(order.ActualPayPrice),*/, order.OrderSeq) return fmt.Sprintf(orderFmt, orderParams...) }