fix: 修复SQL Server下拉树报错

This commit is contained in:
junjun
2025-09-11 16:21:40 +08:00
committed by Junjun
parent e01890b792
commit 1aee66dcc6

View File

@@ -139,7 +139,7 @@ public class ExtWhere2Str {
String whereName = "";
if (request.getIsTree()) {
if (StringUtils.equalsIgnoreCase(dsType, DatasourceConfiguration.DatasourceType.sqlServer.getType()) && whereNameList.size() == 1) {
whereNameList.add("");
whereNameList.add("''");
}
whereName = "CONCAT(" + StringUtils.join(whereNameList, ",',',") + ")";
} else {