fix: 修复控制台异常

This commit is contained in:
wangjiahao 2024-11-22 20:16:03 +08:00
parent 32abbf9a92
commit f8c7c22b31

View File

@ -138,7 +138,9 @@ public class ChartViewManege {
Map<Long, List<CoreDatasetTableField>> groupedByTableId = coreDatasetTableFields.stream()
.collect(Collectors.groupingBy(CoreDatasetTableField::getDatasetGroupId));
chartViewDTOS.forEach(dto ->{
if(dto.getTableId() !=null){
dto.setCalParams(Utils.getParams(datasetTableFieldManage.transDTO(groupedByTableId.get(dto.getTableId()))));
}
});
}