|
|
|
@ -121,7 +121,19 @@ public class CellDesensitizationGroupsPane extends JPanel {
|
|
|
|
|
*/ |
|
|
|
|
public void populate(List<CellDesensitizationBean> desensitizationBeans) { |
|
|
|
|
if (Objects.nonNull(desensitizationBeans)) { |
|
|
|
|
// 记录埋点数据
|
|
|
|
|
if (!desensitizationBeans.isEmpty()) { |
|
|
|
|
recordDesensitization(desensitizationBeans); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
editorPane.populate(desensitizationBeans.toArray(new CellDesensitizationBean[]{})); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 记录预览导出脱敏埋点 |
|
|
|
|
*/ |
|
|
|
|
private int recordDesensitization(List<CellDesensitizationBean> desensitizationBeans) { |
|
|
|
|
return desensitizationBeans.size(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|