minor modification

This commit is contained in:
DOHA 2015-02-18 07:07:37 +02:00
parent c16add062a
commit 7e97b0966a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class UserSpecification implements Specification<User> {
case GREATER_THAN:
return builder.greaterThan(root.<String> get(criteria.getKey()), criteria.getValue().toString());
case LESS_THAN:
return builder.lessThanOrEqualTo(root.<String> get(criteria.getKey()), criteria.getValue().toString());
return builder.lessThan(root.<String> get(criteria.getKey()), criteria.getValue().toString());
case LIKE:
return builder.like(root.<String> get(criteria.getKey()), criteria.getValue().toString());
case STARTS_WITH: