${if(len(BookDates)=0,"","and res.START_DATE>=to_date('"+BookDates+"','yyyy-mm-dd') and res.high_version='Y'")} ${if(len(BookDates)=0,"","and res.START_DATE<=to_date('"+BookDatee+"','yyyy-mm-dd')and res.high_version='Y'")} ${if(len(BookDates_c)=0,"","and res.PZ_DATE>=to_date('"+BookDates_c+"','yyyy-mm-dd')")} ${if(len(BookDates_c)=0,"","and res.PZ_DATE<=to_date('"+BookDatee_c+"','yyyy-mm-dd')")} |