Skip to content

Commit 23dbe75

Browse files
ulleodataeaseShu
authored andcommitted
fix(图表): 修复组合图 getData 接口 response 中 sql 没有加密的问题
dataease#15968
1 parent 8c68cdb commit 23dbe75

File tree

1 file changed

+1
-1
lines changed
  • core/core-backend/src/main/java/io/dataease/chart/charts/impl/mix

1 file changed

+1
-1
lines changed

core/core-backend/src/main/java/io/dataease/chart/charts/impl/mix/MixHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public ChartViewDTO buildChart(ChartViewDTO view, ChartCalcDataResult calcResult
255255
var isDrill = CollectionUtils.isNotEmpty(drillFilters);
256256
view.setDrillFilters(drillFilters);
257257
view.setDrill(isDrill);
258-
view.setSql(leftCalcResult.getQuerySql());
258+
view.setSql(Base64.getEncoder().encodeToString(leftCalcResult.getQuerySql().getBytes()));
259259
view.setData(chartData);
260260
return view;
261261
}

0 commit comments

Comments
 (0)