select * from XXXX
where 1=1
${switch(date,"month"," and month='${month}'")}
我想达到这样的效果,在switch函数选择为按月查询的时候,再指定查询的月份。但是帆软里面这样的写法一直报错
${switch(date,"month"," and month='"+month+"'")}
————————————————————————————
~~~