select ${if(wgdj= 1,"firstwgbm,","firstwgmc,")} sheng, zhou, shi from grid_info
可以的...你在设计器写变量就行了
select
${if(条件1="A","字段a,","字段b,")}
销量
from 你的表
---------------------------------多个字段----------------------
select
${if(条件1="A","字段a,字段E,字段t,","字段b,字段F,字段QQc,")}
销量
from 你的表