。。。
参考这个格式
SELECT ${if(参数="A", "字段A as 字段名,", "字段B as 字段名,")}
字段C,
字段D
from tb
select case when '${cs}'='xx' then zd else zd1 end zd from table