From 75918e4a8c889c97cdfae45f10d452b84b05f6fc 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:23:55 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index d7e7c2d78..e34e01ef1 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -276,7 +276,9 @@ 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) } if err != nil {