From c0e491ff7f09b47fedce6ae2f442cfb190a5c39e 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:29:52 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 1e1971948..eaf9c4df1 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -559,12 +559,12 @@ func countWaybillSettleInfo(db *dao.DaoDB, order *model.GoodsOrder, bill *model. return err } - if deductFee != model.NO { - // 更新运单实际扣除费用 - bill.ActualFee = deductFee - bill.DesiredFee = deductFee - _, err = dao.UpdateEntity(db, bill, "ActualFee", "DesiredFee") - } + //if deductFee != model.NO { + // 更新运单实际扣除费用 + bill.ActualFee = deductFee + bill.DesiredFee = deductFee + _, err = dao.UpdateEntity(db, bill, "ActualFee", "DesiredFee") + //} // 门店发单,支付运单违约金 if store != nil && store.CreateDeliveryType == model.YES && deductFee != model.NO {