我想请问一下,图表根据category传参下钻的时候,如果该category在数据库里为空is null,那么下钻的时候目标图表接收到的是空''还是也是null,目标表的条件我这样写可以吗${if(JZGLYMC ='',"",if(JZGLYMC is null,"and JZGLYMC is null","and JZGLYMC in('"+JZGLYMC+"')")}。或者说作为分类或系列的源字段值is null的话,在图表里存的是null 还是''
${if(JZGLYMC ='',"",if(len(JZGLYMC)=0,"and JZGLYMC is null","and JZGLYMC in('"+JZGLYMC+"')")}
只判断一次就行了
${if(len(JZGLYMC)=0,"and JZGLYMC is null","and JZGLYMC in('"+JZGLYMC+"')")}