解决license流量报表分页数量错误的问题

This commit is contained in:
aoshiguchen
2023-03-20 13:08:13 +08:00
parent 70ff088a9d
commit 5a5b336baf
@@ -56,7 +56,7 @@ public class ReportService {
Page<LicenseFlowReportRes> result = PageHelper.startPage(pageQuery.getCurrent(), pageQuery.getSize());
List<LicenseFlowReportRes> list = reportMapper.licenseFLowReportList(req);
fillLicenseFlowReport(list);
return PageInfo.of(list, 25L, pageQuery.getCurrent(), pageQuery.getSize());
return PageInfo.of(list, result.getTotal(), pageQuery.getCurrent(), pageQuery.getSize());
}
private void fillUserFlowReport(List<UserFlowReportRes> list) {