Waybill添加TipFee,在订单完成时也会更新,ActualFee肯定会有值,当成总费用

This commit is contained in:
gazebo
2019-12-26 17:28:28 +08:00
parent 381d1b2f21
commit 5361c0cabb
3 changed files with 19 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ type Waybill struct {
VendorStatus string `orm:"size(255)" json:"-"`
ActualFee int64 `json:"actualFee"` // 实际要支付给快递公司的费用
DesiredFee int64 `json:"desiredFee"` // 运单总费用
TipFee int64 `json:"tipFee"` // 运单小费,不含在上两项中
DuplicatedCount int `json:"-"` // 重复新订单消息数这个一般不是由于消息重发造成的消息重发由OrderStatus过滤一般是业务逻辑造成的
DeliveryFlag int8 `json:"deliveryFlag"`
WaybillCreatedAt time.Time `orm:"type(datetime);index" json:"waybillCreatedAt"`