diff --git a/business/jxcallback/orderman/waybill.go b/business/jxcallback/orderman/waybill.go index cb3c5eda0..543ae4fe9 100644 --- a/business/jxcallback/orderman/waybill.go +++ b/business/jxcallback/orderman/waybill.go @@ -149,14 +149,14 @@ func (w *OrderManager) OnWaybillStatusChanged(bill *model.Waybill) (err error) { } addParams := orm.Params{} if bill.Status >= model.WaybillStatusAccepted { - if bill.Status == model.WaybillStatusAccepted { - if bill.DesiredFee > 0 { - addParams["desired_fee"] = bill.DesiredFee - } - if bill.ActualFee > 0 { - addParams["actual_fee"] = bill.ActualFee - } + //if bill.Status == model.WaybillStatusAccepted {等于10的时候没有运费 + if bill.DesiredFee > 0 { + addParams["desired_fee"] = bill.DesiredFee } + if bill.ActualFee > 0 { + addParams["actual_fee"] = bill.ActualFee + } + //} //单独增加顺丰派送取消运单修改配送费逻辑 if (bill.WaybillVendorID == model.VendorIDSFPS || bill.WaybillVendorID == model.VendorIDMTWM) && bill.Status == model.WaybillStatusCanceled { addParams["desired_fee"] = bill.DesiredFee