无运单配送费
This commit is contained in:
@@ -1558,6 +1558,8 @@ func UpdateWaybillDesiredFee(ctx *jxcontext.Context, vendorOrderID string, desir
|
|||||||
DesiredFee: int64(desiredFee),
|
DesiredFee: int64(desiredFee),
|
||||||
}
|
}
|
||||||
dao.CreateEntity(db, waybill)
|
dao.CreateEntity(db, waybill)
|
||||||
|
order.VendorWaybillID = "-1"
|
||||||
|
dao.UpdateEntity(db, order, "VendorWaybillID")
|
||||||
} else {
|
} else {
|
||||||
bill.DesiredFee = int64(desiredFee)
|
bill.DesiredFee = int64(desiredFee)
|
||||||
_, err = dao.UpdateEntity(db, bill, "DesiredFee")
|
_, err = dao.UpdateEntity(db, bill, "DesiredFee")
|
||||||
|
|||||||
Reference in New Issue
Block a user