我设置了两个报表块分别是1、2(如图),块1中的数据是sql扩展出来的,我想点击块1中的不同标题,下边的图表自动更换。SELECT jfxm,jsxm,bj,COUNT(*) FROM sfjlWHERE YEAR(xxrq) =YEAR(DATE(NOW())) AND rmb-IFNULL(tfje,0)>0 ${IF(len(jfxm) == 0,"","and jfxm = '" + jfxm + "'")} GROUP BY jfxm,jsxm,bj order by date desc