<!-- 查询条件:创建开始时间 -->
<if test="createdBegintime!=null and createdBegintime!=''">
AND CREATED >= #{createdBegintime}
</if>
<!-- 查询条件:创建结束时间 -->
<if test="createdEndtime!=null and createdEndtime!=''">
AND CREATED <= #{createdEndtime}
</if>
mybatis时间对比
猜你喜欢
转载自blog.csdn.net/aiyongbo123456/article/details/81457077
今日推荐
周排行