Merge pull request #10338 from dataease/pr@dev-v2@feat_filter

feat(仪表板): 新增批量获取数据集字段列表接口
This commit is contained in:
Junjun 2024-06-18 11:36:16 +08:00 committed by GitHub
commit 952284eff2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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