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