fk
This commit is contained in:
@@ -406,11 +406,11 @@ func GetEffectiveActStoreSkuInfo(db *DaoDB, actID int, vendorIDs []int, actType
|
|||||||
sqlParams = append(sqlParams, model.GetVendorMask(vendorIDs...), vendorIDs)
|
sqlParams = append(sqlParams, model.GetVendorMask(vendorIDs...), vendorIDs)
|
||||||
}
|
}
|
||||||
if actID > 0 {
|
if actID > 0 {
|
||||||
sql = " AND t1.act_type = ?"
|
sql = " AND t1.id = ?"
|
||||||
sqlParams = append(sqlParams, actID)
|
sqlParams = append(sqlParams, actID)
|
||||||
}
|
}
|
||||||
if actType != model.ActTypeAll {
|
if actType != model.ActTypeAll {
|
||||||
sql = " AND t1.type = ?"
|
sql = " AND t1.`type` = ?"
|
||||||
sqlParams = append(sqlParams, actType)
|
sqlParams = append(sqlParams, actType)
|
||||||
}
|
}
|
||||||
if len(storeIDs) > 0 {
|
if len(storeIDs) > 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user