SQL里有包含两个控件的数据:SELECT DISTINCT PROCESSOPERATIONNAME FROM EPS_MMDTACTTIME_DAY WHERE 1=1 AND FACTORYDATE >= REPLACE('${dtdDateStart}','-','') AND FACTORYDATE <= REPLACE('${dtdDateEnd}','-','') ${if(len(ddcMachineName)=0,"AND 1=2","AND MACHINENAME IN('"+ddcMachineName+"')")} ${if(len(ddcProductspec)=0,"","AND PRODUCTSPECNAME IN('"+ddcProductspec+"')")}区别点在于2控件的数据字典是公式判断后调用的对应数据集:改回1个固定数据集后可以正常读出控件值,这个是我的问题还是软件bug