改成这个写法就可以
$.store.book[${if(len(ss)=0,'*','?(@.price=='+ss+')')}]
按sql数据集的写法试试看
${if(isnull(ss),"@.price=''","@.price='"+ss +"'")}
这是具体语法
https://blog.csdn.net/qq_38889350/article/details/125311488
可以搭配帆软的函数判断参数是否为空
https://help.fanruan.com/finereport/doc-view-4455.html