1 日期比较
hql.append(" and to_date(to_char(planTime,'yyyy-mm'),'yyyy-mm') >= to_date('"+params.get("startDate")+"','yyyy-mm') ");
hql.append(" and to_date(to_char(planTime,'yyyy-mm'),'yyyy-mm') >= to_date('"+params.get("startDate")+"','yyyy-mm') ");