Browse Source

Pull request #11387: REPORT-89926 数据脱敏三期增加埋点

Merge in DESIGN/design from ~LEO.QIN/design:final/11.0 to final/11.0

* commit 'c445d158d7f7ad95240076fafed5133e3878733d':
  REPORT-89926 数据脱敏三期增加埋点
new-design
Leo.Qin-覃宇攀 2 years ago
parent
commit
86bd26b957
  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) {
if (Objects.nonNull(desensitizationBeans)) {
// 记录埋点数据
if (!desensitizationBeans.isEmpty()) {
recordDesensitization(desensitizationBeans);
}
editorPane.populate(desensitizationBeans.toArray(new CellDesensitizationBean[]{}));
}
}
/**
* 记录预览导出脱敏埋点
*/
private int recordDesensitization(List<CellDesensitizationBean> desensitizationBeans) {
return desensitizationBeans.size();
}
}

Loading…
Cancel
Save