- add remark in orderstatus table.
- check order.waybill vendor id in swtich2SelfDeliverWithRetry.
This commit is contained in:
@@ -98,6 +98,7 @@ type Waybill struct {
|
||||
StatusTime time.Time `orm:"type(datetime)"` // last status time
|
||||
ModelTimeInfo
|
||||
OriginalData string `orm:"type(text)"`
|
||||
Remark string `orm:"-"` // 用于传递remark
|
||||
}
|
||||
|
||||
func (w *Waybill) TableUnique() [][]string {
|
||||
@@ -124,6 +125,7 @@ type OrderStatus struct {
|
||||
VendorStatus string `orm:"size(255)"`
|
||||
StatusTime time.Time `orm:"type(datetime);index"`
|
||||
DuplicatedCount int // 收到的重复状态转换(或消息)数,一般是由于重发造成的
|
||||
Remark string `orm:"size(255)"`
|
||||
ModelTimeInfo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user