AND(SQL("test1","select SEND_STATE from a where FGS_NAME = '001' AND SEND_DATE = to_date('"+TODAY()+"','yyyy/mm/dd')",1,1) <> "已发送",SQL("test1","select count(1) from b where to_date(ETL_DATE,'yyyy/mm/dd') = to_date('"+TODAY()+"','yyyy/mm/dd')-1 ",1,1) > 0 )