Merge pull request #2926 from dataease/pr@dev@fix_oracle_tree_filter

fix(仪表板-oracle数据源+树过滤器): 当树过滤器不是两级无法查询视图
This commit is contained in:
fit2cloud-chenyw 2022-08-24 11:52:09 +08:00 committed by GitHub
commit 87ca265f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1110,7 +1110,7 @@ public class OracleQueryProvider extends QueryProvider {
String whereName = "";
if (request.getIsTree()) {
whereName = "CONCAT(" + StringUtils.join(whereNameList, ",',',") + ")";
whereName = " (" + StringUtils.join(whereNameList, "||','||") + ") ";
} else {
whereName = whereNameList.get(0);
}