fix(X-Pack): 修复内置仪表板无法发送带附件的定时报告问题

This commit is contained in:
wangjiahao 2024-03-13 18:43:12 +08:00
parent eb02184a0a
commit 972672025b

View File

@ -89,7 +89,7 @@ public class ViewExportExcel {
private List<String> findTableInfoViewIds(List<Map<String, Object>> components) {
List<String> tableInfoViewIds = new ArrayList<>();
components.forEach(element -> {
if (StringUtils.equals(element.get("type").toString(), "view") && StringUtils.equals(((Map<String, Object>) element.get("propValue")).get("innerType").toString(), "table-info")) {
if (StringUtils.equals(String.valueOf(element.get("type")), "view") && StringUtils.equals(String.valueOf(((Map<String, Object>) element.get("propValue")).get("innerType")), "table-info")) {
tableInfoViewIds.add(((Map<String, Object>) element.get("propValue")).get("viewId").toString());
}
});