${if(year_month = 0, 'to_char(field0001,'yyyy') = substr(sysdate,0,4)','substr(field0001,0,4) = substr(sysdate,0,4) AND substr(field0001,6,2) =' + year_month)}
单双引号混合运用
双引号括单引号