Skip to content

Commit

Permalink
Fixing the issue in single condition
Browse files Browse the repository at this point in the history
  • Loading branch information
geethkokila committed Mar 31, 2016
1 parent 9661502 commit d6923a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public Map<String, List<String>> buildQueries(List<Condition> conditions) throws

if (conditions.get(0).getKey().equalsIgnoreCase(Constants.LOCATION)) {
locConditon = conditions.get(0);
} else if (Utils.getDeviceDetailsColumnNames().containsKey(conditions.get(0)) ||
Utils.getDeviceLocationColumnNames().containsKey(conditions.get(0))) {
} else if (Utils.getDeviceDetailsColumnNames().containsKey(conditions.get(0).getKey()) ||
Utils.getDeviceLocationColumnNames().containsKey(conditions.get(0).getKey())) {
andColumns.add(conditions.get(0));
} else {
otherANDColumns.add(conditions.get(0));
Expand Down

0 comments on commit d6923a1

Please sign in to comment.