|
@@ -43,7 +43,7 @@ public class StatisticsServiceImpl implements StatisticsService {
|
|
|
if (bo.getEndTime() != null)
|
|
|
queryWrapper.apply("`time` <= STR_TO_DATE({0},'%Y-%m-%d %H:%i:%s')", bo.getEndTime());
|
|
|
queryWrapper.orderByDesc("time");
|
|
|
- Page<Statistics> page = new Page<>();
|
|
|
+ Page<Statistics> page = new Page<>(bo.getPageNum(), bo.getPageSize());
|
|
|
List<Statistics> list = statisticsMapper.selectPage(page, queryWrapper).getRecords();
|
|
|
List<ScanListVo> vos = new ArrayList<>();
|
|
|
for (Statistics statistics : list) {
|