Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
jing Tang
Dataease
Commits
f6e5ce7c
Unverified
Commit
f6e5ce7c
authored
2 years ago
by
fit2cloud-chenyw
Committed by
GitHub
2 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #2464 from dataease/pr@dev@fix_sql_dataset_view_plugin
fix: 插件视图不能使用sql数据集
parents
3d2e4f5e
a40fb8a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/io/dataease/service/chart/ViewPluginBaseServiceImpl.java
+1
-0
.../io/dataease/service/chart/ViewPluginBaseServiceImpl.java
with
1 addition
and
0 deletions
+1
-0
backend/src/main/java/io/dataease/service/chart/ViewPluginBaseServiceImpl.java
+
1
-
0
View file @
f6e5ce7c
...
...
@@ -107,6 +107,7 @@ public class ViewPluginBaseServiceImpl implements ViewPluginBaseService {
break
;
case
SQL:
tableName
=
dataSetTableService
.
handleVariableDefaultValue
(
dataTableInfoDTO
.
getSql
(),
pluginViewSet
.
getSqlVariableDetails
());
tableName
=
"("
+
tableName
+
")"
;
break
;
case
CUSTOM:
List
<
DataSetTableUnionDTO
>
list
=
dataSetTableUnionService
.
listByTableId
(
dataTableInfoDTO
.
getList
().
get
(
0
).
getTableId
());
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help