参考条件汇总-https://help.finereport.com/doc-view-345.html
看你模板是怎么设计的
报表中计算应该可以用层次坐标来做
分组汇总-https://help.fanruan.com/finereport/doc-view-149.html
————————————