在oracle 中日期比较 如果在数据库中ADDTIME 是date类型,比较时传递的参数时应该把参数转换为日期类型. and ADDTIME > to_date('" + paras[1] + "','yyyy-mm-dd hh24:mi:ss')