<if test="stime !=null and stime !=''">
<![CDATA[ and to_date(substr(APPLY_TIME, 0, 10), 'YYYY-MM-DD') >= to_date(#{stime}, 'YYYY-MM-DD') ]]>
</if>
<if test="etime !=null and etime !=''">
<![CDATA[ and to_date(substr(APPLY_TIME, 0, 10), 'YYYY-MM-DD') <= to_date(#{etime}, 'YYYY-MM-DD') ]]>
</if>