|
@@ -132,6 +132,7 @@ public class ReportService extends ServiceImpl<ReportMapper, Report> {
|
|
SecurityUtils.startDataScope("/pcs/report/query");
|
|
SecurityUtils.startDataScope("/pcs/report/query");
|
|
List<Report> reports = this.page(new Page<>(reportVO.getCurrent(), reportVO.getSize()), queryWrapper).getRecords();
|
|
List<Report> reports = this.page(new Page<>(reportVO.getCurrent(), reportVO.getSize()), queryWrapper).getRecords();
|
|
reports = this.reportData(reports);
|
|
reports = this.reportData(reports);
|
|
|
|
+ SecurityUtils.startDataScope("/pcs/report/query");
|
|
long count = this.count(queryWrapper);
|
|
long count = this.count(queryWrapper);
|
|
return Response.success(reports, DataUtils.setPageColumn(reportVO.getSize(), reportVO.getCurrent(), Math.toIntExact(count)));
|
|
return Response.success(reports, DataUtils.setPageColumn(reportVO.getSize(), reportVO.getCurrent(), Math.toIntExact(count)));
|
|
}
|
|
}
|