|
|
|
@ -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; |
|
|
|
|