diff --git a/business/model/dao/store_sku.go b/business/model/dao/store_sku.go index f93ea72db..54964f62b 100644 --- a/business/model/dao/store_sku.go +++ b/business/model/dao/store_sku.go @@ -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{}{} }