The application provides a report framework generation method and
system, comprising: step S1: initializing and setting a report; step S2: saving sub-table data into a bottom-layer
database; step S3: configuring report header field information based on the bottom-layer
database and a report header style; and step S4: obtaining corresponding report data by setting a query condition field of the report based on the bottom-layer
database and the configured report header field information. The application supports configuration development of the whole report. The report header configuration mode is flexible, supports arbitrary configuration from a detailed table to a multi-dimensional table, and the detailed table header configuration does not need
code development, but can be completed by a front-end page function. Complex report development can be completed by writing an
XML file. Report parameter content supports configuration setting, and the report
parameter type and
association type can be configured by a front-end page function. For a drop-down box type parameter, the purpose of reading a
data dictionary to load drop-down box options can be achieved.