diff --git a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java index dbd4c99c..98ef4bfb 100755 --- a/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java +++ b/pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java @@ -61,6 +61,7 @@ public class GeneratorServiceImpl implements GeneratorService { @Override @DS("#last") public IPage>> getPage(Page page, String tableName, String dsName) { + page.setOptimizeCountSql(false); return generatorMapper.queryList(page, tableName); }