feat: SQL数据集参数支持在预览时带入参数默认值

This commit is contained in:
taojinlong 2023-03-06 13:49:49 +08:00
parent d169f1e9f2
commit c8c9af7096
4 changed files with 4 additions and 4 deletions

View File

@ -1846,7 +1846,7 @@ public class ChartViewService {
}
}
}
sql = dataSetTableService.handleVariableDefaultValue(sql, table.getSqlVariableDetails(), ds.getType());
sql = dataSetTableService.handleVariableDefaultValue(sql, null, ds.getType());
return sql;
}

View File

@ -1520,7 +1520,7 @@ export default {
},
dataset: {
scope_edit: 'Effective only when editing',
scope_all: 'Global effective',
scope_all: 'Effect globally when the dataset is previewed',
spend_time: 'Spend',
sql: 'SQL',
sql_result: 'Result',

View File

@ -1514,7 +1514,7 @@ export default {
},
dataset: {
scope_edit: '僅編輯時生效',
scope_all: '全域生效',
scope_all: '數据集預覽時全域生效',
spend_time: '耗時',
sql: 'SQL 語句',
sql_result: '運行結果',

View File

@ -1513,7 +1513,7 @@ export default {
},
dataset: {
scope_edit: '仅编辑时生效',
scope_all: '全局生效',
scope_all: '数据集预览时全局生效',
spend_time: '耗时',
sql: 'SQL 语句',
sql_result: '运行结果',