- ActStoreSku2添加Type,活动类型

This commit is contained in:
gazebo
2019-09-03 14:45:07 +08:00
parent 23e9adc86e
commit 73c5656be2
2 changed files with 3 additions and 0 deletions

View File

@@ -179,6 +179,8 @@ func (*ActStoreSkuMap) TableIndex() [][]string {
type ActStoreSku2 struct {
MapID int `orm:"column(map_id)"`
Type int `json:"type"`
ActStoreSku
VendorID int `orm:"column(vendor_id)" json:"vendorID"`

View File

@@ -358,6 +358,7 @@ func GetEffectiveActStoreSkuInfo(db *DaoDB, actID int, vendorIDs []int, storeIDs
}
sql := `
SELECT
t1.type,
t2.*,
t3.actual_act_price, t3.sync_status, t3.vendor_price, t3.vendor_id
FROM act t1