BUG FIX: Fix multiple keymaps in a relation, wasn't separated by AND.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981619 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -76,6 +76,7 @@ public final class Relation extends Atom implements Iterable<KeyMap> {
|
||||
sb.append(' ').append(entityName);
|
||||
sb.append(" ON");
|
||||
for (int i = 0; i < keyMaps.size(); i++) {
|
||||
if (i != 0) sb.append(" AND ");
|
||||
sb.append(' ');
|
||||
keyMaps.get(i).appendTo("cur", "other", sb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user