1、用mybatis读取oracle的表,用jedis存储到redis
2、当mapper.xml的select需要data类型where条件:
where startDate >= to_date('2021-09-29', 'yyyy-mm-dd')
and D.endDate <= to_date('2021-09-29', 'yyyy-mm-dd') ;
但是mapper.xml中不能使用>、<,解决办法是用转义:
大于:>
小于:<
1、用mybatis读取oracle的表,用jedis存储到redis
2、当mapper.xml的select需要data类型where条件:
where startDate >= to_date('2021-09-29', 'yyyy-mm-dd')
and D.endDate <= to_date('2021-09-29', 'yyyy-mm-dd') ;
但是mapper.xml中不能使用>、<,解决办法是用转义:
大于:>
小于:<