<if test="record.senddate != null and record.senddate != '' " > <![CDATA[ and to_char(m.SENDDATE,'yyyy-mm-dd') = to_char(#{record.senddate},'yyyy-mm-dd')]]> </if>
end