modify paging
This commit is contained in:
parent
469a0e8710
commit
4ab847671e
3 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
final int from;
|
||||
final int size;
|
||||
if (cb.isFetchScopeEffective()) {
|
||||
from = cb.getFetchStartIndex();
|
||||
from = cb.getPageStartIndex();
|
||||
size = cb.getFetchSize();
|
||||
} else {
|
||||
from = 0;
|
||||
|
|
|
@ -94,7 +94,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
final int from;
|
||||
final int size;
|
||||
if (cb.isFetchScopeEffective()) {
|
||||
from = cb.getFetchStartIndex();
|
||||
from = cb.getPageStartIndex();
|
||||
size = cb.getFetchSize();
|
||||
} else {
|
||||
from = 0;
|
||||
|
|
|
@ -94,7 +94,7 @@ public abstract class EsAbstractBehavior<ENTITY extends Entity, CB extends Condi
|
|||
final int from;
|
||||
final int size;
|
||||
if (cb.isFetchScopeEffective()) {
|
||||
from = cb.getFetchStartIndex();
|
||||
from = cb.getPageStartIndex();
|
||||
size = cb.getFetchSize();
|
||||
} else {
|
||||
from = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue