美团正向账单bug优化 skuid-->vendorskuid

This commit is contained in:
renyutian
2019-04-12 13:48:22 +08:00
parent ca8d0b362b
commit b342af3e7e
4 changed files with 25 additions and 7 deletions

View File

@@ -136,9 +136,9 @@ type OrderSkuFinancial struct {
// SkuType int `json:"-"` // 当前如果为gift就为1否则缺省为0
}
func (o *OrderSkuFinancial) TableUnique() [][]string {
func (o *OrderSkuFinancial) TableIndex() [][]string {
return [][]string{
[]string{"VendorOrderID", "SkuID", "PromotionType", "IsAfsOrder", "VendorID"},
[]string{"VendorOrderID", "VendorSkuID", "PromotionType", "IsAfsOrder", "VendorID"},
}
}