REQ-2135: fix NPE

This commit is contained in:
yanglin 2024-04-10 23:35:09 +08:00
parent d2054d267a
commit b14f157f3d
2 changed files with 2 additions and 2 deletions

View File

@ -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, "")

View File

@ -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;
} }
} }