- ExportOrders

This commit is contained in:
gazebo
2019-05-23 09:55:11 +08:00
parent 132e6a9fd7
commit e024203e2f
6 changed files with 313 additions and 2 deletions

View File

@@ -17,12 +17,24 @@ type GoodsOrderExt struct {
CourierMobile string `orm:"size(32)" json:"courierMobile"`
CurrentConsigneeMobile string `orm:"-" json:"currentConsigneeMobile"`
Status2 string `json:"status2"`
ActualFee int64 `json:"actualFee"` // 实际要支付给快递公司的费用
DesiredFee int64 `json:"desiredFee"` // 运单总费用
WaybillCreatedAt time.Time `orm:"type(datetime);index" json:"waybillCreatedAt"`
WaybillFinishedAt time.Time `orm:"type(datetime)" json:"waybillFinishedAt"`
}
type GoodsOrderExtAndSku struct {
GoodsOrderExt
SkuID int `orm:"column(sku_id)" json:"skuID"`
SkuShopPrice int `json:"skuShopPrice"`
SkuSalePrice int `json:"skuSalePrice"`
SkuCount2 int `json:"skuCount2"`
SkuInfo string `json:"skuInfo"`
}
type OrderSkuExt struct {
OrderSku
FullSkuName string `json:"fullSkuName"`