if (!StringUtils.isEmpty(search.get("beginTime"))
|| !StringUtils.isEmpty(search.get("endTime"))) {
criteria = criteria.and("createDate");
if (!StringUtils.isEmpty(search.get("beginTime")))
criteria.gte(DateUtils.parse(search.get("beginTime")));
if (!StringUtils.isEmpty(search.get("endTime")))
criteria.lte(DateUtils.parse(search.get("endTime")));