数据集嵌套多层参数的sql写法,比如最外层有个参数a ,控制执行其中一个sql,sql里面还有一个参数b,这种数据集是怎么写的? ${if(lx=='人口数',"select nd,rk,qh from ymq where 1=1 if(qh="全市"," and qh in ('11','22','33')","and qh='"+qh+"'") order by nd", "select nd,round(rkmd,4) rkmd,qh from ymq where 1=1 if(qh="全市","and qh in ('11','22','33')","and qh='"+qh+"'") order by nd")} |