- 重构GetOrders与ExportOrders
This commit is contained in:
@@ -22,17 +22,12 @@ type GoodsOrderExt struct {
|
||||
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"`
|
||||
SkuID int `orm:"column(sku_id)" json:"skuID,omitempty"`
|
||||
SkuShopPrice int `json:"skuShopPrice,omitempty"`
|
||||
SkuSalePrice int `json:"skuSalePrice,omitempty"`
|
||||
SkuCount2 int `json:"skuCount2,omitempty"`
|
||||
SkuInfo string `json:"skuInfo,omitempty"`
|
||||
}
|
||||
|
||||
type OrderSkuExt struct {
|
||||
|
||||
Reference in New Issue
Block a user