pagehelper查询一次总条数十条,删除一条数据后,再次查询总条数还是十条,被删除的数据还显示,但是重启Tomcat后数据就正常了。大佬们知道怎回事吗
```public PageInfo selectDocBypage1(int currentPage, int pageSize) {
PageHelper.startPage(currentPage, pageSize);
List docs = mapper.selectAll();
PageInfo pageInfo = new PageInfo<>(docs);
return pageInfo;
}