HQL语句:mysql中怎么比较日期String hql = "from MaintainInfo where begDate>=1992-11-24 and endDate<=2009-11-02";
这个语句应该怎么改才正确?