|
@@ -250,7 +250,7 @@ func GetHisugarFrequencyByCondition(condition string, pars []interface{}) (items
|
|
|
}
|
|
|
|
|
|
|
|
|
-func GetHisugarIndexViewList(condition string, pars []interface{}, startSize, pageSize int) (items []*BaseFromHisugarIndexView, err error) {
|
|
|
+func GetHisugarIndexViewList(condition string, pars []interface{}) (items []*BaseFromHisugarIndexView, err error) {
|
|
|
o := orm.NewOrmUsingDB("data")
|
|
|
sql := ` SELECT b.*, e.edb_info_id,
|
|
|
CASE WHEN e.edb_info_id IS NULL THEN 0 ELSE 1 END AS edb_exist
|
|
@@ -260,8 +260,8 @@ func GetHisugarIndexViewList(condition string, pars []interface{}, startSize, pa
|
|
|
if condition != "" {
|
|
|
sql += condition
|
|
|
}
|
|
|
- sql += ` ORDER BY b.modify_time ASC LIMIT ?,? `
|
|
|
- _, err = o.Raw(sql, pars, startSize, pageSize).QueryRows(&items)
|
|
|
+ sql += ` ORDER BY b.modify_time ASC `
|
|
|
+ _, err = o.Raw(sql, pars).QueryRows(&items)
|
|
|
return
|
|
|
}
|
|
|
|