如图,假如前端传属性a,可以根据a的值判断执行那个sql吗。执行那一个sql,则数据集是哪个。我的写法不对,求大佬告诉真正的写法
关联数据集-https://help.fanruan.com/finereport/doc-view-125.html
${if(a=="1","sql1",if(a=="2","sql2","sql3"))}
${if(a=0,"sql1",if(a=1,"sql2","sql3"))}