Browse Source

REPORT-80693 数据脱敏二期

【问题原因】拼写错误
【改动思路】与前端同学沟通,共同处理一下拼写错误
【review建议】
new-design
Yvan-欧阳帆 2 years ago
parent
commit
90d6ebdfd2
  1. 6
      designer-base/src/main/java/com/fr/design/data/datapane/preview/PreviewTablePane.java

6
designer-base/src/main/java/com/fr/design/data/datapane/preview/PreviewTablePane.java

@ -266,7 +266,7 @@ public class PreviewTablePane extends BasicPane {
* @return 数据脱敏字段数量 * @return 数据脱敏字段数量
*/ */
private int recordDesensitization() { private int recordDesensitization() {
return getCurrentTableDataDesensitizaitionCount(); return getCurrentTableDataDesensitizationCount();
} }
/** /**
@ -283,7 +283,7 @@ public class PreviewTablePane extends BasicPane {
* 根据TableData设置脱敏设置的个数 * 根据TableData设置脱敏设置的个数
*/ */
private void setDesensitizationCountByTableData() { private void setDesensitizationCountByTableData() {
desensitizationPane.setDesensitizationCount(isDesensitizeOpened(), getCurrentTableDataDesensitizaitionCount()); desensitizationPane.setDesensitizationCount(isDesensitizeOpened(), getCurrentTableDataDesensitizationCount());
desensitizationPane.dealWithTableDataType(isGlobalTableData()); desensitizationPane.dealWithTableDataType(isGlobalTableData());
} }
@ -292,7 +292,7 @@ public class PreviewTablePane extends BasicPane {
* *
* @return * @return
*/ */
private int getCurrentTableDataDesensitizaitionCount() { private int getCurrentTableDataDesensitizationCount() {
return this.tableData instanceof DesensitizationTableData ? return this.tableData instanceof DesensitizationTableData ?
((DesensitizationTableData) this.tableData).getDesensitizationConfig().getDesensitizationItems().size() : ((DesensitizationTableData) this.tableData).getDesensitizationConfig().getDesensitizationItems().size() :
0; 0;

Loading…
Cancel
Save