fix(X-Pack): 修复内置仪表板无法发送带附件的定时报告问题
This commit is contained in:
parent
eb02184a0a
commit
972672025b
@ -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());
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user