REQ-2135: fix NPE
This commit is contained in:
parent
d2054d267a
commit
b14f157f3d
@ -279,7 +279,7 @@ public class MigrateFromPendingMessageJob extends IJobHandler {
|
|||||||
private Page<PendingMessageRecord> absentPageData(String templateCode, int pageNumber) {
|
private Page<PendingMessageRecord> absentPageData(String templateCode, int pageNumber) {
|
||||||
Page<PendingMessageRecord> page = new Page<>();
|
Page<PendingMessageRecord> page = new Page<>();
|
||||||
page.setCurrent(pageNumber);
|
page.setCurrent(pageNumber);
|
||||||
page.setSize(3000);
|
page.setSize(4000);
|
||||||
return pendingMessageRecordMapper.selectPage(page, query(PendingMessageRecord.class)
|
return pendingMessageRecordMapper.selectPage(page, query(PendingMessageRecord.class)
|
||||||
.eq(PendingMessageRecord::getTemplateCode, templateCode)
|
.eq(PendingMessageRecord::getTemplateCode, templateCode)
|
||||||
.eq(PendingMessageRecord::getBizCode, "")
|
.eq(PendingMessageRecord::getBizCode, "")
|
||||||
|
|||||||
@ -62,7 +62,7 @@ public class BeautifulPaginationInterceptor implements Interceptor, Ordered {
|
|||||||
private static class CustomPaginationInterceptor extends PaginationInterceptor {
|
private static class CustomPaginationInterceptor extends PaginationInterceptor {
|
||||||
|
|
||||||
public CustomPaginationInterceptor() {
|
public CustomPaginationInterceptor() {
|
||||||
limit = 2000;
|
limit = 5000;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user