全选1.rar
多增加一个数据集比如名称是:下拉框 写sql
SELECT '全部' AS province
UNION ALL
SELECT province FROM `province`
group by province
这个数据集做为下拉框的字典项。。。
你之前的省份销量就放在单元格中。之前的省份销量改成这样
SELECT province,sales FROM `province`
WHERE 1=1 ${if(len(area)=0,"",if(area="全部","","and province ='"+ area + "'"))}