ibatis时间查询

<isNotEmpty prepend="and" property="begin_create_time">
				CREATE_TIME >= to_date(#begin_create_time#,'yyyy-MM-dd HH24:MI:SS')
</isNotEmpty>
<isNotEmpty prepend="and" property="end_create_time">
<![CDATA[CREATE_TIME <= TO_DATE(#end_create_time#,'yyyy-MM-dd H24:MI:SS')]]> 
</isNotEmpty>

你可能感兴趣的:(xml,ibatis)