feat(仪表板): 新增批量获取数据集字段列表接口

This commit is contained in:
junjun 2024-06-18 11:35:07 +08:00
parent 18c34411b1
commit e328324147

View File

@ -162,8 +162,8 @@ public class DatasetTableFieldManage {
public Map<String, List<DatasetTableFieldDTO>> selectByDatasetGroupIds(List<Long> ids) { public Map<String, List<DatasetTableFieldDTO>> selectByDatasetGroupIds(List<Long> ids) {
Map<String, List<DatasetTableFieldDTO>> map = new HashMap<>(); Map<String, List<DatasetTableFieldDTO>> map = new HashMap<>();
QueryWrapper<CoreDatasetTableField> wrapper = new QueryWrapper<>();
for (Long id : ids) { for (Long id : ids) {
QueryWrapper<CoreDatasetTableField> wrapper = new QueryWrapper<>();
wrapper.eq("dataset_group_id", id); wrapper.eq("dataset_group_id", id);
wrapper.eq("checked", true); wrapper.eq("checked", true);
wrapper.isNull("chart_id"); wrapper.isNull("chart_id");