if(len(日期字段)=0,today(),日期字段)
${if(len(cs2)=0,"sysdate","and a.表中字段名称 in('"+ cs2 + "')")}
ifnull(日期字典,now())