新增字段

This commit is contained in:
苏尹岚
2020-08-14 13:56:02 +08:00
parent f450b18b3e
commit e32274a31b
2 changed files with 47 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ const (
OrderTypeNormal = 0 //普通订单
OrderTypeMatter = 0 //物料订单
OrderTypeSupplyGoods = 2 //进货订单
OrderTypeDefendPrice = 3 //守价订单
)
var (
@@ -387,11 +388,13 @@ type PriceDefendOrder struct {
VendorOrderID string `orm:"column(vendor_order_id);size(48)" json:"vendorOrderID"`
StoreID int `orm:"column(store_id)" json:"storeID"`
SkuID int `orm:"column(sku_id)" json:"skuID"`
AddressID int `orm:"column(address_id)" json:"addressID"`
AddressID int64 `orm:"column(address_id)" json:"addressID"`
Count int `json:"count"`
DefendPrice int64 `json:"defendPrice"`
ActualPayPrice int64 `json:"actualPayPrice"` // 单位为分 顾客实际支付
IsBuyNowPrice int `json:"isBuyNowPrice"`
DefendPrice int64 `json:"defendPrice"` //守的价格
ActualPayPrice int64 `json:"actualPayPrice"` //单位为分 顾客实际支付
IsBuyNowPrice int `json:"isBuyNowPrice"` //库存剩x(x=当前客户购买的数量)时以当时价抢购
Issue int `json:"issue"` //期数每晚2200以后的守价单是归在第二天的期数中
IsSuccess int `json:"isSuccess"` //是否抢购成功
}
func (v *PriceDefendOrder) TableIndex() [][]string {