forked from github/dataease
fix(数据集): with查询支持变量
This commit is contained in:
parent
074ca0f23c
commit
2a16f1fc5f
@ -1045,7 +1045,7 @@ public class DataSetTableService {
|
||||
builder.append(" ");
|
||||
for (Iterator<WithItem> iter = select.getWithItemsList().iterator(); iter.hasNext(); ) {
|
||||
WithItem withItem = iter.next();
|
||||
builder.append(withItem.toString());
|
||||
builder.append(withItem.getName() + " AS ( " + removeVariables(withItem.getSubSelect().toString()) + " ) ");
|
||||
if (iter.hasNext()) {
|
||||
builder.append(",");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user