Commit 8b4553b4 by zhouhaibao

perf(StoreExcelImportService): 提高分页大小以优化商户列表查询性能

- 将分页大小从 10000 增加到 20000
- 减少远程调用次数以提高数据导入效率
1 parent 2c0efa35
...@@ -123,7 +123,7 @@ public class StoreExcelImportService { ...@@ -123,7 +123,7 @@ public class StoreExcelImportService {
listMerchantRequest.setStatus(String.valueOf(MerchantAccountStatusEnum.HAVE_PUBLISH.getValue())); listMerchantRequest.setStatus(String.valueOf(MerchantAccountStatusEnum.HAVE_PUBLISH.getValue()));
pagination.setCondition(listMerchantRequest); pagination.setCondition(listMerchantRequest);
pagination.setPageSize(10000); pagination.setPageSize(20000);
pagination.setPageNum(1); pagination.setPageNum(1);
RpcResponse<RpcPagination<MerchantRopResponse>> rpcResponse = merchantRemote.listMerchantWithPage(pagination); RpcResponse<RpcPagination<MerchantRopResponse>> rpcResponse = merchantRemote.listMerchantWithPage(pagination);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!