From 98eb7e1397ac934496c9f7793d81e428f7617697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 18 May 2023 10:51:35 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 2b6c05462..f8c19e337 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -563,7 +563,8 @@ func countWaybillSettleInfo(db *dao.DaoDB, order *model.GoodsOrder, bill *model. // 更新运单实际扣除费用 bill.ActualFee = deductFee bill.DesiredFee = deductFee - if _, err = dao.UpdateEntity(db, &bill, "ActualFee", "DesiredFee"); err != nil { + globals.SugarLogger.Debugf("bill ======== %s", utils.Format4Output(bill, false)) + if _, err = dao.UpdateEntity(db, bill, "ActualFee", "DesiredFee"); err != nil { globals.SugarLogger.Errorf("更新门店配送信息错误:%d,%v", deductFee, err) } //}