SQL("REPORTS", "SELECT AREGION,BREGION FROM USER_POWER WHERE 1=1 ${if(len('" + C2 + "')=0,'','AND AREGION in ('" + SUBSTITUTE(C2, ",", "','") + "')')} GROUP BY AREGION,BREGION", 2) 不要IF可行,但是我的IF必须要嵌套在里面,因为我这里只给了一个IF的例子,我会有多个IF的判断,这怎么拼接呢,显示公式合法,但是执行是报错的 |