教学单位 湖北工程学院
学生学号 081714120
本科毕业设计(论
文)
题 目: 基于
SSH
技术的资产管理系统
学生姓名: 万圣升
专业名称: 计算机科学与技术软件工程
指导教师: 焦家林
湖北工程学院毕业论文
论文完成时间: 2012 年 5 月 21 日
基于 SSH 技术的资产管理系统
摘要:现代企业管理越来越强调利用有形资产来提供优质服务的能力,即通过
资产管理来确保有形资产物尽其用、安全运行,在希望的时间和地点提供需要
的设备,同时尽可能地降低运行和维护成本。资产管理系统为企业提供全面、
迅速的资产信息,方便管理者了解和操作企业内部的资产管理。
本系统是基于 B/S 的多层 Web 应用,在 windows 7 操作系统下,本系统选择
了 Myeclipse8.6 开 发 环 境 、 Mysql 数 据 库 和
JSP、Struts、Spring、Hibernate、AJAX 技术,利用 MVC 设计模式将业务逻辑和
表示逻辑分离,在表示逻辑层利用 JSP 技术实现了页面制作、利用 AJAX 实现无
刷新技术,在业务逻辑层,利用 Struts、Spring 技术实现了系统设置、资产管理
以及分类统计三个主要模块的开发,后台使用 Mysql 进行数据库的开发,并利
用 Hibernate 技术完成对数据库的封装映射,实现了数据查询、修改、增加、删
除等功能。
关键词:资产管理,JSP,SSH,MySQL,设计模式
2
湖北工程学院毕业论文
Based on SSH technology asset management system
Abstract:Modern business management is an increasing emphasis on the ability to
provide quality services to the use of tangible assets, through asset management to
ensure that tangible assets matter to make the best use, safe operation of the
equipment needed in the hope that the time and place, as far as possible to reduce the
runand maintenance costs. Asset management system to provide comprehensive, rapid
asset information to facilitate managers to understand and operating within the
enterprise asset management.
The system is based on B / S multi-tier Web applications, windows 7 operating
system, the system chose the Myeclipse8.6 development environment, Mysql
database and JSP, Struts, Spring, Hibernate, AJAX technology, use of the MVC
design pattern business logic and separation of presentation logic, that logic layer
using JSP technology enables the production of the page using AJAX to achieve
refresh technology in the business logic layer using Struts, the Spring technology to
achieve the system settings, asset management, and separate statistics on three main
modules development, the background using the Mysql database development, and
complete the mapping database package using Hibernate technology, data query,
modify, increase, delete, and other functions.
Keyword:Asset management, JSP, SSH, MySQL, design patterns
3
湖北工程学院毕业论文
目 录
1 绪论............................................................................................................................................. 5
1.1 选题背景.......................................................................................................................................5
1.2 问题的提出...................................................................................................................................5
1.3 系统的开发目标...........................................................................................................................5
2 系统概要设计............................................................................................................................... 6
2.1 系统分析.......................................................................................................................................6
2.2 系统的可行性分析.......................................................................................................................6
3 开发环境的说明与安装................................................................................................................ 8
3.1 开发语言的选择...........................................................................................................................8
3.2 数据库的选择.............................................................................................................................10
3.3 开发工具的选择.........................................................................................................................11
3.4 系统所涉及的关键技术.............................................................................................................11
4 系统设计.................................................................................................................................... 15
5 数据库设计................................................................................................................................ 21
5.1 资产管理系统数据库表结构说明..............................................................................................21
6 主要编码实现............................................................................................................................. 23
6.1 公共类设计.................................................................................................................................23
6.2 系统的实现.................................................................................................................................24
7 总结........................................................................................................................................... 39
致谢.............................................................................................................................................. 40
参考文献....................................................................................................................................... 41
4
湖北工程学院毕业论文
1 绪论
1.1 选题背景
随着 internet 技术的不断发展,应用软件迅速普及,大到厂矿校企,小到
图书、餐饮行业,无不应用了信息技术,实现了现代化管理。目前我国中小企
业运用信息化等手段,开展现代化治理已经具备良好的基础。但是发展不平衡,
从企业规模看,大型企业的信息化水平远远高于小型企业,尤其是采购、生产、
库存和销售的信息化程度这四项指标尤为突出,中小企业的差距也最为明显,
因此加快信息化建设,实现现代化管理是中小企业的必然选择。
企业资产管理的着眼点是帮助企业管理好有形资产,使之物尽其用,而且
要使企业资产的投资回报最大化。原始的企业资产管理体制,采用人力管理浪
费大量的时间、人力和物力,并且数据准确性低,数据汇总速度慢。企业资产
管理之所以非常重要,是因为良好的资产管理能够减少设备的故障率,缩短维
修响应和维修工作时间,延长设备寿命,提高仓库备件储存水平的合理性,提
高采购的科学性。
1.2 问题的提出
现代企业管理越来越强调利用有形资产来提供优质服务的能力,即通过资
产管理来确保有形资产物尽其用、安全运行,在希望的时间和地点提供需要的
设备,同时尽可能地降低运行和维护成本。资产管理系统为企业提供全面、迅
速的资产信息,方便管理者了解和操作企业内部的资产管理。
1.3 系统的开发目标
开发资产管理系统目的在于解决企业资产管理过程中不必要的人力、物力
的浪费,提高数据汇总速度,从而提高资产管理的合理性和科学性。资产管理
系统具有三大功能:
系统设置:可以对资产管理系统的管理员,用户,部门,类别以及个人信
息设置,即增删、改、查的操作。
资产管理:企业的资产的增加,资产信息、使用人员及部门的修改,资产
的送修,资产的删除等管理操作。
分类统计:按照指定的日期区间查找出指定的资产进行操作。
5