mirror of https://gitee.com/maxjhandsome/pig
🐛 Fixing a bug. closed #I470JA generatorMapper 执行count 查询 控制台warning
This commit is contained in:
parent
5af580bdb8
commit
b86defa0a8
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue