select
*
from person
WHERE (id like '%test%'
or name like '%test%'
or location like '%test%'
)
and date >= '2019-10-24 00:00:00'
and date < '2019-10-26 00:00:00'
我怎么能用 Criteria 对象构造它?
MyExample example = new MyExample();
MyExample.Criteria criteria = example.createCriteria();