- jxorder, only waybill status related left, other info saved.

This commit is contained in:
gazebo
2018-07-16 17:14:17 +08:00
parent ea3aec81a4
commit b75739d6c2
8 changed files with 118 additions and 21 deletions

View File

@@ -31,6 +31,7 @@ type GoodsOrder struct {
Status int // 参见OrderStatus*相关的常量定义
VendorStatus string `orm:"size(16)"`
LockStatus int
OrderSeq int // 门店订单序号
BuyerComment string `orm:"size(255)"`
ExpectedDeliveredTime time.Time `orm:"type(datetime)"` // 预期送达时间
CancelApplyReason string `orm:"size(255)"` // ""表示没有申请不为null表示用户正在取消申请
@@ -64,7 +65,7 @@ type OrderSku struct {
SalePrice int64
Weight int // 单位为克
SkuType int
PromotionType int
PromotionType int // todo 当前是用于记录京东的PromotionType(生成jxorder用),没有做转换
OrderCreatedAt time.Time `orm:"type(datetime);index"` // 分区考虑
}