你的数据集参数和参数面板上面的名称是否一样。还有你的语句是如何写的。
SELECT
${if(WEIDU="按班组",
"SHIFT",IF(WEIDU="按员工",
"JOCKEY",IF(WEIDU="按产品contype","PRODUCT_TYPE",
IF(WEIDU="按检验阶段","INSPECTION_STAGEE",""))))}
AS TMP FROM WR_ET_QUALITY_HOLE