forked from github/dataease
commit
2896763547
@ -285,7 +285,7 @@ public class ChartViewService {
|
|||||||
try {
|
try {
|
||||||
ChartViewDTO view = this.getOne(id, request.getQueryFrom());
|
ChartViewDTO view = this.getOne(id, request.getQueryFrom());
|
||||||
// 如果是从仪表板获取视图数据,则仪表板的查询模式,查询结果的数量,覆盖视图对应的属性
|
// 如果是从仪表板获取视图数据,则仪表板的查询模式,查询结果的数量,覆盖视图对应的属性
|
||||||
if (CommonConstants.VIEW_QUERY_FROM.PANEL.equals(request.getQueryFrom()) && CommonConstants.VIEW_RESULT_MODE.CUSTOM.equals(request.getResultMode())) {
|
if (CommonConstants.VIEW_RESULT_MODE.CUSTOM.equals(request.getResultMode())) {
|
||||||
view.setResultMode(request.getResultMode());
|
view.setResultMode(request.getResultMode());
|
||||||
view.setResultCount(request.getResultCount());
|
view.setResultCount(request.getResultCount());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user