ibatis动态sql,该怎么处理

ibatis动态sql
小弟接触java10天。。。跟着老师做项目,遇到个问题,求大神帮助
要查询在某个时间段的数据,这个用ibatis动态sql怎么写啊,里面好像不能用>=,<=

------解决方案--------------------
可以用的,只不过要用
<![CDATA[ ]]>

将>、<包含起来,否则会影响sql语句的生成
下面是个例子

<isNotNull prepend="and " property="startDate"><![CDATA[GMTCREATE >= #startDate# ]]></isNotNull>
<isNotNull prepend="and " property="endDate"><![CDATA[GMTCREATE <= #endDate# ]]></isNotNull>