- ActStoreSku2添加Type,活动类型
This commit is contained in:
@@ -179,6 +179,8 @@ func (*ActStoreSkuMap) TableIndex() [][]string {
|
|||||||
type ActStoreSku2 struct {
|
type ActStoreSku2 struct {
|
||||||
MapID int `orm:"column(map_id)"`
|
MapID int `orm:"column(map_id)"`
|
||||||
|
|
||||||
|
Type int `json:"type"`
|
||||||
|
|
||||||
ActStoreSku
|
ActStoreSku
|
||||||
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
||||||
|
|
||||||
|
|||||||
@@ -358,6 +358,7 @@ func GetEffectiveActStoreSkuInfo(db *DaoDB, actID int, vendorIDs []int, storeIDs
|
|||||||
}
|
}
|
||||||
sql := `
|
sql := `
|
||||||
SELECT
|
SELECT
|
||||||
|
t1.type,
|
||||||
t2.*,
|
t2.*,
|
||||||
t3.actual_act_price, t3.sync_status, t3.vendor_price, t3.vendor_id
|
t3.actual_act_price, t3.sync_status, t3.vendor_price, t3.vendor_id
|
||||||
FROM act t1
|
FROM act t1
|
||||||
|
|||||||
Reference in New Issue
Block a user