|
@@ -182,13 +182,13 @@ public class EntityInfoFacade {
|
|
|
if (StringUtil.isNotBlank(entityInfo.getAgeRange())) {
|
|
|
String[] ages = entityInfo.getAgeRange().split("-");
|
|
|
if (ages.length == 2) {
|
|
|
- entityInfo.setMinAge(Integer.valueOf(ages[0]));
|
|
|
- entityInfo.setMaxAge(Integer.valueOf(ages[1]));
|
|
|
+ entityInfo.setMinAge(Double.valueOf(ages[0]));
|
|
|
+ entityInfo.setMaxAge(Double.valueOf(ages[1]));
|
|
|
} else if (ages.length == 1) {
|
|
|
if (entityInfo.getAgeRange().startsWith("-")) {
|
|
|
- entityInfo.setMaxAge(Integer.valueOf(ages[0]));
|
|
|
+ entityInfo.setMaxAge(Double.valueOf(ages[0]));
|
|
|
} else if (entityInfo.getAgeRange().endsWith("-")) {
|
|
|
- entityInfo.setMinAge(Integer.valueOf(ages[0]));
|
|
|
+ entityInfo.setMinAge(Double.valueOf(ages[0]));
|
|
|
}
|
|
|
}
|
|
|
}
|