diff --git a/backend/src/main/java/io/dataease/ext/ExtDataSetTableMapper.xml b/backend/src/main/java/io/dataease/ext/ExtDataSetTableMapper.xml index 46bbce05dd..205a1b42f2 100644 --- a/backend/src/main/java/io/dataease/ext/ExtDataSetTableMapper.xml +++ b/backend/src/main/java/io/dataease/ext/ExtDataSetTableMapper.xml @@ -159,23 +159,25 @@ diff --git a/backend/src/main/java/io/dataease/ext/ExtDataSourceMapper.xml b/backend/src/main/java/io/dataease/ext/ExtDataSourceMapper.xml index 49c1bfe889..2e572d0578 100644 --- a/backend/src/main/java/io/dataease/ext/ExtDataSourceMapper.xml +++ b/backend/src/main/java/io/dataease/ext/ExtDataSourceMapper.xml @@ -11,10 +11,10 @@ - - - - + + + + @@ -167,10 +167,10 @@ dt.name, dt_auth.auths, 'dataset' `type`, - pg.id panel_id, - pg.name panel_name, - pg_auth.auths panel_auths, - if(pg.id is not null,'panel',null) pg_type + pg.id sub_id, + pg.name sub_name, + pg_auth.auths sub_auths, + if(pg.id is not null,'panel',null) sub_type from datasource ds join dataset_table dt on dt.data_source_id = ds.id @@ -239,7 +239,7 @@ group by sa.auth_source ) pg_auth on pg_auth.id = pg.id where ds.id=#{datasourceId,jdbcType=VARCHAR} - group by id,panel_id + group by id,sub_id order by id diff --git a/backend/src/main/java/io/dataease/ext/ExtPanelGroupMapper.xml b/backend/src/main/java/io/dataease/ext/ExtPanelGroupMapper.xml index 8aebceeb0c..a75137acd1 100644 --- a/backend/src/main/java/io/dataease/ext/ExtPanelGroupMapper.xml +++ b/backend/src/main/java/io/dataease/ext/ExtPanelGroupMapper.xml @@ -14,18 +14,6 @@ - - - - - - - - - - - - +