This commit is contained in:
kamhung
2015-11-09 10:51:34 +08:00
parent a0ca0ff3bc
commit 46d3188162

View File

@@ -234,6 +234,7 @@ final class FilterBeanNode extends FilterNode {
protected <T> StringBuilder createFilterSQLExpress(final boolean first, final EntityInfo<T> info, FilterBean bean) {
if (joinSQL == null || !first) return super.createFilterSQLExpress(first, info, bean);
StringBuilder sb = super.createFilterSQLExpress(first, info, bean);
if (joinSQL == null) return sb;
String jsql = joinSQL.replace("#", info.getSQLColumn(byjoinColumn));
return new StringBuilder(sb.length() + jsql.length()).append(jsql).append(sb);
}