现阶段系统时间在给定日期之间hql查询语句
当前系统时间在给定日期之间hql查询语句
FROM Entity sa WHERE sa.state=1 and sysDate() BETWEEN sa.beginDate AND sa.endDate order by sa.id asc
FROM Entity sa WHERE sa.state=1 and sysDate() BETWEEN sa.beginDate AND sa.endDate order by sa.id asc