控件名称:bblx0控件值:A类,B类第一段sql select count(*) from syreport.dm_A where 1=1 and month_id between '${starttime2}' and '${endtime2}' -- 考核周期 -- 客户号 ${if(len(clientid2) == 0,"","and client_id_later in ('" + replace(clientid2,",","','") + "')")} 第二段sql select count(*)from syreport.dm_B where 1=1 and month_id between '${starttime2}' and '${endtime2}' -- 考核周期 -- 客户号 ${if(len(clientid2) == 0,"","and client_id_later in ('" + replace(clientid2,",","','") + "')")}