1
This commit is contained in:
parent
a038d666cb
commit
b41d63fcbb
@ -370,10 +370,10 @@ func (this *dbPool) StreamPageQuery(
|
|||||||
if filter != nil {
|
if filter != nil {
|
||||||
finalySql += filter.GenSql()
|
finalySql += filter.GenSql()
|
||||||
}
|
}
|
||||||
finalySql += fmt.Sprintf(" LIMIT %d ", pageSize + 1)
|
|
||||||
if orderBy != "" {
|
if orderBy != "" {
|
||||||
finalySql += " " + orderBy + " "
|
finalySql += " " + orderBy + " "
|
||||||
}
|
}
|
||||||
|
finalySql += fmt.Sprintf(" LIMIT %d ", pageSize + 1)
|
||||||
GetSysLog().Info("finalySql:%s", finalySql)
|
GetSysLog().Info("finalySql:%s", finalySql)
|
||||||
this.queryOne(
|
this.queryOne(
|
||||||
dataSource,
|
dataSource,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user