Browse Source

feat(all): 修改报表模块导出逻辑

dist.1.3.0
zhaoqiaobo 5 months ago
parent
commit
db915d849e
  1. 3
      blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/AsyncServiceImpl.java

3
blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/AsyncServiceImpl.java

@ -74,7 +74,8 @@ public class AsyncServiceImpl implements IAsyncService {
// 当前第几次查询 // 当前第几次查询
int current = finalNum + 1; int current = finalNum + 1;
// 当前查询需要查询几条数据 // 当前查询需要查询几条数据
long lastNum = remaindNum > pageSize ? pageSize : remaindNum; // long lastNum = remaindNum > pageSize ? pageSize : remaindNum;
long lastNum = pageSize;
// 分页查询对象 // 分页查询对象
Page<T> page = new Page(current, lastNum); Page<T> page = new Page(current, lastNum);
// 执行查询操作返回数据 // 执行查询操作返回数据

Loading…
Cancel
Save