Browse Source

Merge pull request #11373 in DESIGN/design from final/11.0 to release/11.0

* commit '3bd5a873c74b2c2bdce41adc63fc374abac2b94d':
  REPORT-80693 数据脱敏二期 【问题原因】拼写错误 【改动思路】与前端同学沟通,共同处理一下拼写错误 【review建议】
newui
superman 2 years ago
parent
commit
1169b1b8ae
  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