导入Excel更新京西价,推荐商品

This commit is contained in:
苏尹岚
2019-12-10 11:47:52 +08:00
parent 3229e3db25
commit 62569dfe55
7 changed files with 244 additions and 69 deletions

View File

@@ -484,6 +484,27 @@ func (*StorePriceScoreSnapshot) TableIndex() [][]string {
}
}
type StoreSkuNamePrice struct {
ModelIDCULD
OutSkuID string `orm:"column(out_sku_id)" json:"outSkuID"`
Name string `json:"name"`
Price int `json:"price"`
Unit string `json:"unit"`
NameIDGroup string `orm:"column(name_id_group)" json:"nameIDGroup"`
}
func (*StoreSkuNamePrice) TableUnique() [][]string {
return [][]string{
[]string{"Name", "NameIDGroup"},
}
}
func (*StoreSkuNamePrice) TableIndex() [][]string {
return [][]string{
[]string{"Name"},
}
}
type VendorStoreSnapshot struct {
ModelIDCULD