🐛 Fixing a bug. closed #I470JA generatorMapper 执行count 查询 控制台warning

This commit is contained in:
wjie 2021-08-24 16:07:56 +08:00
parent 5af580bdb8
commit b86defa0a8
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ public class GeneratorServiceImpl implements GeneratorService {
@Override @Override
@DS("#last") @DS("#last")
public IPage<List<Map<String, Object>>> getPage(Page page, String tableName, String dsName) { public IPage<List<Map<String, Object>>> getPage(Page page, String tableName, String dsName) {
page.setOptimizeCountSql(false);
return generatorMapper.queryList(page, tableName); return generatorMapper.queryList(page, tableName);
} }