一、sql报错:数据集配置错误,应该sql写的有问题,一个机台一张表,根据FX不同,调用不同sql (FX='L',执行第一个sql,FX='R',执行第二个sql)二、FX在参数面板,是根据机台,ds2.select(),得出来的,然后sql再调用它请教一下,sql要怎么写呀,主要这个参数,拿过来怎么用(PS:'"+机台+"' 和 ${机台} ,这样用,都报错的)最后附上sql${IF(FX='L'," SELECT SITE,RESRCE,N1 AS 左外温上,N37 AS 左外温下,N2 AS 左片模温, N3 AS 左内温,N4 AS 左内压,N34 AS 左模合压
FROM Z_EDC_DATA_'"+机台+"' "," SELECT SITE,RESRCE,N11 AS 右外温上,N37 AS 右外温下,N12 AS 右片模温, N13 AS 右内温,N14 AS 右内压,N34 AS 右模合压
FROM Z_EDC_DATA_'"+机台+"' ")}