- 重构GetOrders与ExportOrders

This commit is contained in:
gazebo
2019-05-23 14:33:03 +08:00
parent 2ed01a9b36
commit 284e92381c
2 changed files with 51 additions and 169 deletions

View File

@@ -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 {