The application discloses a
statistical report generation method and device, modifies the staff number in the user table into the corresponding
organization name, divides the user level of each
organization name in the user table to obtain an updated user table containing the user level and the corresponding relationship of the
organization name, obtains a comparison table containing the organization name and the corresponding
branch number of the organization name, obtains the
transaction data corresponding to each organization and the
branch number contained in the
transaction data, and generates a temporary statistical table, replaces the
branch number in the temporary statistical table with the organization name according to the comparison table, groups the temporary statistical table to obtain each sub-statistical table containing the same
organization level, determines the sub-statistical table of the same level and lower than the user level according to the user level in the updated user table, and performs association. When the user work changes or the organization affiliation changes, only the organization name needs to be modified, the change can be completed, the change efficiency is improved, and the normal work of the user is ensured.