diff --git a/core/backend/src/main/java/io/dataease/ext/ExtChartViewMapper.xml b/core/backend/src/main/java/io/dataease/ext/ExtChartViewMapper.xml index d7ab36aeab..79c8627399 100644 --- a/core/backend/src/main/java/io/dataease/ext/ExtChartViewMapper.xml +++ b/core/backend/src/main/java/io/dataease/ext/ExtChartViewMapper.xml @@ -309,7 +309,8 @@ `is_plugin`, `senior`, `data_from`, - `view_fields`) + `view_fields`, + `_aggregate`) SELECT #{newChartId}, GET_CHART_VIEW_COPY_NAME(#{oldChartId}, #{panelId}) as `name`, #{panelId}, @@ -338,7 +339,8 @@ `is_plugin`, `senior`, `data_from`, - `view_fields` + `view_fields`, + `_aggregate` FROM chart_view WHERE id = #{oldChartId}