可配置的表单报表生成系统
原站著录信息
摘要
论文题目: 可配置的表单报表生成系统 COMPOSED FORM AND REPORT GENERATION SYSTEM 目 录 摘要 I ABSTRACT II 第1章 绪论 1 1.1 系统开发背景 1 1.2 系统开发意义 1 1.3 国内外开发状况 1 1.4 表单报表生成系统的优势 4 1.5 解决的主要问题 5 1.6 本文的主要工作 6 1.7 论文的组织结构 6 第2章 需求分析 7 2.1 系统需求获取模式 7 2.2 系统需求问题描述 7 2.2.1 输入控件需求描述 8 2.2.2 报表需求…
论文题目:
可配置的表单报表生成系统
COMPOSED FORM AND REPORT GENERATION SYSTEM
目 录
摘要 I
ABSTRACT II
第1章 绪论 1
1.1 系统开发背景 1
1.2 系统开发意义 1
1.3 国内外开发状况 1
1.4 表单报表生成系统的优势 4
1.5 解决的主要问题 5
1.6 本文的主要工作 6
1.7 论文的组织结构 6
第2章 需求分析 7
2.1 系统需求获取模式 7
2.2 系统需求问题描述 7
2.2.1 输入控件需求描述 8
2.2.2 报表需求描述 12
2.2.3 非功能性需求 12
第3章 系统架构设计 14
3.1 系统设计目标和原则 14
3.2 系统功能架构设计 14
3.3 系统技术架构设计 17
3.3.1 单次交互输入控件的设计 17
3.3.2 多次交互输入控件的设计 19
3.3.3 报表生成器的设计 26
第4章 系统详细设计 27
4.1 输入控件的定义与生成 27
4.2 报表的定义与生成 34
4.3 存储过程设计 37
4.4 数据库设计 38
第5章 系统实现 41
5.1 表单输入控件组件树构建器的实现 41
5.2 报表生成器的实现 43
5.3 数据源存储过程实现 48
第6章 结束语 53
参考文献 54
致谢 54
CONTENTS
Chinese abstract I
English abstract II
Chapter 1 introduction 1
1.1 development background 1
1.2 importance of this system 1
1.3 the latest state of technology 1
1.4 advantages of this system 4
1.5 the main problems need to be resolved in this paper 5
1.6 the main work of this paper 6
1.7 the structure of this paper 6
Chapter 2 the requirement analysis for this system 7
2.1 system requirements acquisition mode 7
2.2 the of requirement 7
2.2.1 the discription of input control requirement 8
2.2.2 the discription of report control requirement 12
2.2.3 non- functional requirement 12
Chapter 3 construction design for this system 14
3.1 desing aim and principle for this system 14
3.2 functional construction design 14
3.3 technology construction design 17
3.3.1 single interaction input control design 17
3.3.2 multiple interaction input control design 19
3.3.3 form builder design 26
Chapter 4 detail design for this system 27
4.1 the definition and generation of form 27
4.2 the definition and generation of report 34
4.3 stored procedures desgin 37
4.4 database design 38
Chapter 5 implement for this system 41
5.1 implement for form input controls tree builder 41
5.2 implement for report builder 43
5.3 implement for data source stored procedures 48
Chapter 6 conclusion 53
Referrence 54
Thanks 54
摘 要
可配置的表单报表生成系统是一个负责表单页面和报表页面生成的系统,使用本系统我们可以通过图形化界面制定需要的表单样式和报表格式,然后将报表和表单绑定数据源,最后在运行时自动生成需要的web页面。使用本系统生成表单和报表不仅能够保证界面统一,而且可以节省大量的编码时间,提升了工作效率。自定义表单报表生成系统有两点优势:
1.基于参数配置不需要编码
当前的web开发模式多为通过编码实现表单页面,如使用JSP技术。这种方式非常灵活,能够满足用户的各种需求,但是在生产效率上不尽人意,需要耗费大量的精力处理html标签和java代码。虽然采用JSF框架可以大大减轻编码的工作量,但是对于重复的表单报表还是显得效率低下。我们的系统对JSF进行了进一步的封装,可以完全不需要编写代码直接通过配置参数生成表单和报表。
2.对各种控件进行了封装,灵活可复用
我们采用较先进的JSF技术对输入控件进行了封装,集成了事件处理和验证器,具有灵活高效可复用的特点。
通过使用本系统,我们顺利的解决了在复杂业务系统中报表模块开发效率低下,维护成本高的问题。实际使用中报表生成迅速高效,格式统一;表单开发做到了完全配置,不再需要进行WEB页面的编码工作,工作效率提升明显。
关键词:表单生成器;报表生成器;可配置表单;可配置报表
ABSTRACT
Composed form and report generation system is used for generating form pages and report pages. We can develop form and report style that we need by using the graphical interface of this system, and then bind the data source to reports, the final web pages will be generated automatically at the run time. Use this system to generate forms and reports can not only ensure a unified interface, save a lot of coding time but also enhance work efficiency. Report generation system has two advantages:
1. Based on parameter configuration
The current web development models generate a form through coding, such as the use of JSP technology. This approach is very flexible to meet the diverse needs of users, but it is inefficient. We have to spend a lot of energy in dealing with html tags and java code. Use of JSF framework can greatly reduce the workload of coding, but for the repeated statements of the form was too inefficient. Our system is based on JSF packages, you can completely do not need to write code directly .Through the configuration parameters you can generate form pages and report pages automatically.
2. Enclosed input controls, flexible, reusable
We use the advanced technology; enclose input controls which integrated event handling and validation to make our system flexible and reusable. By using this system, we have a smooth solution for complex business system which report has high maintenance costs and development efficiency is low. In actual use, the report generation is fast and form development no longer needs coding.
Keywords: Form generation; Report generation; composed form; composed report
第1章 绪论
1.1 系统开发背景
近年来,为了建立科学的绩效考核激励机制,不断提高工商银行的竞争能力和管理水平,我们对全行的业务指标进行了分析,提出了开发综合业绩评价系统的需求。按照各专业部室提供的评价指标内容,确定了客户价值量和专业评价类指标19项,机构综合评价类、经营效益类、产品销售类、客户结构类和引导推介类、其它评价类五类122个指标,员工管户价值类、客户结构类、产品销售类、效益评价类、其它评价类、定性评价类六类104个指标,通过上述指标实现对客户、产品、机构、员工的综合评价。
因为综合业绩评价系统涉及的报表众多,如果为每一张报表都进行web开发那将消耗大量人力资源,为了提高开发效率,统一报表功能,减轻后期维护的工作量,我们提出了在综合业绩评价系统中开发一个用于表单报表生成的子系统。
1.2 系统开发意义
综合业绩评价系统中报表众多,WEB页面的开发工作量非常大。如果每张报表都单独开发,不仅占用大量的开发资源而且效率低下,容易造成用户界面的不统一,以及为今后的升级留下隐患。综上所述,我们有必要开发一套通用的表单报表生成工具规范报表展现的开发过程,提高工作效率。表单报表生成系统的主要功能是负责系统中所有表单页面和报表的生成工作,通过使用本套系统我们可以实现通过图形化界面制定需要的表单样式和报表格式,在将报表表单绑定数据源之后,可以在运行时自动生成需要的web页面。这样不仅界面统一,而且节省了大量的编码时间,提升了工作效率。
1.3 国内外开发状况
Web开发像其他编程技术一样经过了数年的发展,是一个不断优化和调整的过程,在这个过程中,新的、更好的技术不断取代旧技术。Web开发大体经历了4个阶段。
1.3.1 公共网关接口阶段
在上个世纪90年代中叶,Web应用程序的开发仍然相对较新,装配Web应用程序的主导技术使用叫做公帮写硕士论文共网关接口(CGI)的简单方法产生动态内容。CGI这项技术允许Web页面调用服务器端进程,动态地生成输出。生成动态输出的程序通常是操作系统(OS)外壳脚本、本机编译的程序或Perl这样的解释语言。支持CGI的Web服务器允许从HTML页面调用CGI进程。
CGI的一个主要缺陷是它固有的无效率。CGI极为消
