查询距离当前时间5分钟的数据

查询距离当前时间5分钟的数据 最近在作项目的过程当中,须要用定时任务查询最近一段时间内数据库更新的数据:web SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); TestBean bean=new TestBean(); Date date= new Date(); String startTime=sdf.fo
相关文章
相关标签/搜索