From b86defa0a8bc476e0b4cfd53c00648e60bd20d9d Mon Sep 17 00:00:00 2001 From: wjie Date: Tue, 24 Aug 2021 16:07:56 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20Fixing=20a=20bug.=20closed=20#I470JA=20?= =?UTF-8?q?generatorMapper=20=E6=89=A7=E8=A1=8Ccount=20=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=20=E6=8E=A7=E5=88=B6=E5=8F=B0warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pig4cloud/pig/codegen/service/impl/GeneratorServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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); }