改成这个写法就可以
$.store.book[${if(len(ss)=0,'*','?(@.price=='+ss+')')}]
JSON 数据集插件- FineReport帮助文档 - 全面的报表使用教程和学习资料 (fanruan.com)