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)
|
||||
}
|
||||
if actID > 0 {
|
||||
sql = " AND t1.id = ?"
|
||||
sql += " AND t1.id = ?"
|
||||
sqlParams = append(sqlParams, actID)
|
||||
}
|
||||
if actType != model.ActTypeAll {
|
||||
sql = " AND t1.`type` = ?"
|
||||
sql += " AND t1.type = ?"
|
||||
sqlParams = append(sqlParams, actType)
|
||||
}
|
||||
if len(storeIDs) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user