This commit is contained in:
suyl
2021-08-18 15:16:21 +08:00
parent e30e5a7310
commit 97127128e4

View File

@@ -329,6 +329,7 @@ type VendorActMap struct {
ActType int `json:"actType"`
VendorID int `json:"vendorID"`
ActPrice int `json:"actPrice"`
Origin int `json:"origin"` //创建来源。1表示京西创建0表示平台创建
}
type SkuNameAndPlace struct {
@@ -1481,6 +1482,7 @@ func UpdateActPrice4StoreSkuNameNew(db *DaoDB, storeIDs, skuIDs []int, skuNamesI
ActType: v.ActType,
ActPrice: v.ActPrice,
VendorID: actStoreSku.VendorID,
Origin: 1,
})
actVendorMap[actStoreSku.VendorID] = &struct{}{}
}