主从表的报表打印问题,在主表中有product_id和voucher两个字段,首先根据voucher分组且分页,然后根据product_id分组,最后根据product_id字段打印从表。