Browse Source

REPORT-89926 数据脱敏三期增加埋点

new-design
Leo.Qin 2 years ago
parent
commit
c445d158d7
  1. 12
      designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/desensitization/CellDesensitizationGroupsPane.java

12
designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/desensitization/CellDesensitizationGroupsPane.java

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

Loading…
Cancel
Save