|
@@ -25,6 +25,7 @@ import java.util.stream.Stream;
|
|
import com.chelvc.framework.base.util.SpringUtils;
|
|
import com.chelvc.framework.base.util.SpringUtils;
|
|
import com.chelvc.framework.common.model.Paging;
|
|
import com.chelvc.framework.common.model.Paging;
|
|
import com.chelvc.framework.common.model.Period;
|
|
import com.chelvc.framework.common.model.Period;
|
|
|
|
+import com.chelvc.framework.common.model.Range;
|
|
import com.chelvc.framework.common.model.Region;
|
|
import com.chelvc.framework.common.model.Region;
|
|
import com.chelvc.framework.common.util.AssertUtils;
|
|
import com.chelvc.framework.common.util.AssertUtils;
|
|
import com.chelvc.framework.common.util.DateUtils;
|
|
import com.chelvc.framework.common.util.DateUtils;
|
|
@@ -767,6 +768,8 @@ public class ApplicationContextHolder implements ApplicationContextAware, Proper
|
|
}
|
|
}
|
|
} else if (type == Date.class) {
|
|
} else if (type == Date.class) {
|
|
value = (T) getProperty(key, DateUtils::parse);
|
|
value = (T) getProperty(key, DateUtils::parse);
|
|
|
|
+ } else if (type == Range.class) {
|
|
|
|
+ value = (T) getProperty(key, Range::parse);
|
|
} else if (type == Paging.class) {
|
|
} else if (type == Paging.class) {
|
|
value = (T) getProperty(key, Paging::parse);
|
|
value = (T) getProperty(key, Paging::parse);
|
|
} else if (type == Period.class) {
|
|
} else if (type == Period.class) {
|