当前系统时间在给定日期之间hql查询语句

FROM Entity sa WHERE sa.state=1 and   sysDate()   BETWEEN sa.beginDate AND sa.endDate order by sa.id asc

猜你喜欢

转载自edision.iteye.com/blog/2212753