fix(仪表板-oracle数据源+树过滤器): 当树过滤器不是两级无法查询视图

This commit is contained in:
fit2cloud-chenyw 2022-08-24 11:51:05 +08:00
parent 33a99c5a64
commit 4d88f8296d

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);
}