From b7100abe64a872991a451ce6bb9c2c0bab6ac1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 19 Jan 2024 10:28:22 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index e34e01ef1..07e3cc1df 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -276,10 +276,8 @@ func (c *OrderManager) OnOrderStatusChanged(vendorOrgCode string, orderStatus *m // 判断是否需要打印取消订单 storeDetail, errDetail := c.LoadStoreDetail(order2.JxStoreID, order2.VendorID) - globals.SugarLogger.Debugf("==============storeDetail := %s", utils.Format4Output(storeDetail, false)) if errDetail == nil && storeDetail.IsPrintCancelOrder == model.YES { // 取消申请 - globals.SugarLogger.Debugf("==============storeDetail := %s , %d", utils.Format4Output(order2.VendorOrderID, false), order2.StoreID) - _, err = netprinter.PrintRefundOrCancelOrder(jxcontext.AdminCtx, model.YES, order2, order2.StoreID) + _, err = netprinter.PrintRefundOrCancelOrder(jxcontext.AdminCtx, model.YES, order2, order2.JxStoreID) } if err != nil { globals.SugarLogger.Debug("Get store Detail Err: ", err)