From 90d6ebdfd2d80c5e9dc9cf58a827c87b13f59e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvan-=E6=AC=A7=E9=98=B3=E5=B8=86?= Date: Tue, 14 Feb 2023 14:04:52 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-80693=20=E6=95=B0=E6=8D=AE=E8=84=B1?= =?UTF-8?q?=E6=95=8F=E4=BA=8C=E6=9C=9F=20=E3=80=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0=E3=80=91=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20=E3=80=90=E6=94=B9=E5=8A=A8=E6=80=9D=E8=B7=AF=E3=80=91?= =?UTF-8?q?=E4=B8=8E=E5=89=8D=E7=AB=AF=E5=90=8C=E5=AD=A6=E6=B2=9F=E9=80=9A?= =?UTF-8?q?=EF=BC=8C=E5=85=B1=E5=90=8C=E5=A4=84=E7=90=86=E4=B8=80=E4=B8=8B?= =?UTF-8?q?=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF=20=E3=80=90review=E5=BB=BA?= =?UTF-8?q?=E8=AE=AE=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/data/datapane/preview/PreviewTablePane.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/preview/PreviewTablePane.java b/designer-base/src/main/java/com/fr/design/data/datapane/preview/PreviewTablePane.java index 27285850ad..ffac1388c6 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/preview/PreviewTablePane.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/preview/PreviewTablePane.java @@ -266,7 +266,7 @@ public class PreviewTablePane extends BasicPane { * @return 数据脱敏字段数量 */ private int recordDesensitization() { - return getCurrentTableDataDesensitizaitionCount(); + return getCurrentTableDataDesensitizationCount(); } /** @@ -283,7 +283,7 @@ public class PreviewTablePane extends BasicPane { * 根据TableData设置脱敏设置的个数 */ private void setDesensitizationCountByTableData() { - desensitizationPane.setDesensitizationCount(isDesensitizeOpened(), getCurrentTableDataDesensitizaitionCount()); + desensitizationPane.setDesensitizationCount(isDesensitizeOpened(), getCurrentTableDataDesensitizationCount()); desensitizationPane.dealWithTableDataType(isGlobalTableData()); } @@ -292,7 +292,7 @@ public class PreviewTablePane extends BasicPane { * * @return */ - private int getCurrentTableDataDesensitizaitionCount() { + private int getCurrentTableDataDesensitizationCount() { return this.tableData instanceof DesensitizationTableData ? ((DesensitizationTableData) this.tableData).getDesensitizationConfig().getDesensitizationItems().size() : 0;