APP下载

基于SSM框架整合的工服报号统计系统设计

2018-07-28张哲王荣温伟鸽

电脑知识与技术 2018年15期

张哲 王荣 温伟鸽

摘 要:针对企业工服发放频次高,种类繁多,统计困难,建设一个对企业工服管理的工服报号统计系统可以为职工带来便利。根据工服报号统计系统的功能需求,该系统选用Java平台,采用Spring、SpringMVC、Mybatis框架进行整合,依靠Maven进行项目管理,Git实现代码版本管理,采用MySQL实现数据存储。利用该系统可对企业内各类型工服统计数据进行管理,对于工服的报号、统计和发放提供便利。

关键词: Spring; Mybatis;SSM整合框架; 报号统计系统; 系统设计;

中图分类号:TP315 文献标识码:A 文章编号:1009-3044(2018)15-0113-03

Uniform Report Statistics System Based on SSM Integration Framework

ZHANG Zhe,WANG Rong, WEN Wei-ge

(1.China Airborne Missile Academy,Luoyang 471009,China)

Abstract: Aiming at the enterprise uniform provision frequency, various kinds, statistical difficulties, The construction of a report and statistical system for the management of uniforms can bring convenience to employees. According to the functional requirements of the uniform report statistics system, the Java platform is chosen, integrates with Spring, SpringMVC and Mybatis framework, manages project based on Maven, implements code versioning by Git, use MySQL to implement data storage. The system can be used to manage the statistics of various types of uniforms in the enterprise, and provide convenience for the number, statistics of the uniforms provision.

Key words:Spring; Mybatis; SSM integration framework; Report Statistics System; System Design

1 引言

社会在不断地发展过程中,企业形象已经成为越来越多的公司开始关注的焦点,而办公室人员的穿着从侧面反映了一个企业的形象,因此,办公室人员的着装统一化已经开始成为一个企业形象的重要标志[1]。

目前,工服的报号依然是由职工通过邮件、电子表格或纸质等方式手工报送给单位助理,单位助理依据报送结果手工统计,对人数较多的企业而说,提升了单位助理的工作量。基于工服报号统计系统的功能需求,系统选用SpringMVC[2]、Spring[3]、Mybatis[4]整合的框架作为技术框架[5-6],采用B/S结构[7],对客户端无要求,并应用Maven管理工具[8]管理项目开发,采用Git[9]实现版本管理,有效保证开发的规范。

2 关键技术

2.1 相关设计模式

2.1.1 MVC设计模式

MVC模式[10]是一种Model View Controller(模型-视图-控制器)设计创建Web应用程序的模式,其中Model是处理应用程序中数据逻辑的部分,View是处理应用程序中数据展示的部分,Controller处理应用程序中用户交互的部分,三者的关系如下图 1所示,控制器Controller接受用户输入并将用户输入的指令与数据发送给模型Model,Model執行业务逻辑,并根据业务逻辑选择不同的视图View展示。……

登录APP查看全文