|
@@ -1450,9 +1450,10 @@ func GetEdbInfoListByCondition(condition string, pars []interface{}, startSize,
|
|
|
sql += orderDesc
|
|
|
if startSize > 0 && pageSize > 0 {
|
|
|
sql += ` LIMIT ?,? `
|
|
|
+ pars = append(pars, startSize, pageSize)
|
|
|
}
|
|
|
|
|
|
- _, err = o.Raw(sql, pars, startSize, pageSize).QueryRows(&items)
|
|
|
+ _, err = o.Raw(sql, pars).QueryRows(&items)
|
|
|
return
|
|
|
}
|
|
|
|