用的Cnd对象构建查询条件,在postgresql中sql是这样写的
select * from efst_law_result where pass_time <= current_timestamp - interval '30 minutes' order by pass_time desc;
直接使用如下方式报错了
.and("pass_time","<=","current_timestamp - interval '30 minutes'")
请问大佬这个需要怎么弄