首页>
外国专利>
REPORT GENERATION METHOD AND APPARATUS, AND TERMINAL DEVICE AND STORAGE MEDIUM
REPORT GENERATION METHOD AND APPARATUS, AND TERMINAL DEVICE AND STORAGE MEDIUM
展开▼
机译:报告生成方法和装置,以及终端设备和存储介质
展开▼
页面导航
摘要
著录项
相似文献
摘要
Provided are a report generation method and apparatus, and a terminal device and a storage medium, which are suitable for the technical field of computers. The method comprises: acquiring identification information corresponding to a report type of a report to be generated (S101); calling a preset report generation process corresponding to the identification information (S102); acquiring target data corresponding to the identification information according to the preset report generation process, wherein the target data comprises report data and a preset report template (S103); and according to the preset report generation process, filling the preset report template with the report data, so as to obtain a data report corresponding to the report data (S104). All reports share a set of common preset report generation processes to complete the operations of pulling out a common logic and splitting an exception logic, such that code redundancy is reduced. Moreover, it is convenient to add a common logic to a common process without the need to write code for each report logic, such that the commonality and extensibility of the common process are improved.
展开▼