The DataSet Settings:

new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{appstat})

Consolidated cell report:

1. Variable lines use List elements

2. The cells you want to merge need to be configured with ElementGroupHeight

3. Embed Subreport elements in List

The two configurations are as follows:

A, “report/qa_sub_app.jasper” is associated with the Jasper file after compile

B, the new net. Sf. The jasperreports. Engine. Data. JRBeanCollectionDataSource ($F {applist})