Stringwhere=StringUtil.join(" and "," where ","",strs);
Stringsql="select * from (select fl.*, ft.sTaskID sCurTaskID from t_flow_log fl left join t_flow_task ft on ft.sTaskID = fl.sTaskID"+where+") where sCurTaskID is not null order by dCommit desc";