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