- create entity one by one in saveJdOrderList
This commit is contained in:
@@ -11,3 +11,9 @@ type TempGoodsOrderMobile struct {
|
||||
CreatedAt time.Time `orm:"auto_now_add;type(datetime)" json:"createdAt"`
|
||||
Mobile string `orm:"size(32);index" json:"mobile"`
|
||||
}
|
||||
|
||||
func (o *TempGoodsOrderMobile) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"VendorOrderID", "VendorID"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user