forked from github/dataease
Merge pull request #10716 from dataease/pr@dev-v2@fix_count_field
fix(图表): 计数字段失效
This commit is contained in:
commit
cb6a64584c
@ -127,7 +127,8 @@ public class ChartDataManage {
|
||||
List<DataSetRowPermissionsTreeDTO> rowPermissionsTree = permissionManage.getRowPermissionsTree(table.getId(), chartExtRequest.getUser());
|
||||
//将没有权限的列删掉
|
||||
List<String> dataeaseNames = columnPermissionFields.stream().map(DatasetTableFieldDTO::getDataeaseName).collect(Collectors.toList());
|
||||
|
||||
//计数字段
|
||||
dataeaseNames.add("*");
|
||||
AxisFormatResult formatResult = chartHandler.formatAxis(view);
|
||||
formatResult.getContext().put("desensitizationList", desensitizationList);
|
||||
var xAxis = formatResult.getAxisMap().get(ChartAxis.xAxis);
|
||||
|
Loading…
Reference in New Issue
Block a user