人力资源管理系统详细设计.doc_第1页
人力资源管理系统详细设计.doc_第2页
人力资源管理系统详细设计.doc_第3页
人力资源管理系统详细设计.doc_第4页
人力资源管理系统详细设计.doc_第5页
已阅读5页,还剩17页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

人力资源管理系统详细设计说明书Version 3.0文档编号 TTS*2012-10-24On the way(李贞、翟世兴、赵林林)文档历史版本标题内容作者时间1编写目的明确业务背景、业务范围、基本业务逻辑和业务框架,期望读者包括:项目发起人、最终用户、项目投资方、项目管理团队、项目执行团队,以及其他项目干系人。2参考文档。人力资源管理系统需求规格说明书。人力资源管理系统概要设计说明书3名词解释 GWAP:通用WEB 应用平台(General WEB application platform) 。 B/S:Browser/Server(浏览器/服务器) 。 C/S:Client/Server(客户端/服务器) 。 CSS:是 Cascading Style Sheets(层叠样式表)的简称,CSS 语言是一种标记语言,它不需要编译可以直接由浏览器执行。 HTML:Hypertext Markup Language 超文字标记语言。 JAVASCRIPT:一种由 Sun Microsystems 所开发的程序脚本语言(它是一种严密的物件导向的语言,适合在网际网络上发展主从架构的应用程序),常常简称 JS。4系统架构4.1功能架构系统功能机构管理公共属性管 理薪酬标准管理权限管理人力资源档案管理薪酬发放系统报表4.2系统架构 人力资源管理系统采用 4 层结构,主要包括:表现层、控制层、业务层、持久层。 表现层:主要负责用户交互和结果显示,交易系统和管理系统有不同的 URL 入口界面。 控制层:主要负责系统的访问控制、数据加载和注销,是系统的核心控制单元。控制层通过系统描述来组织工作。 业务层:实现了交易系统和管理系统的主要业务逻辑,是系统主要的运算单元。 持久层:实现了静态数据和数据库数据的持久化管理,为业务层提供数据服务,是系统进行数据操作的统一界面。 5.访问控制设计5.1访问控制流程图5.2访问控制流程图说明结合上图,针对每一个消息请求,按照消息请求/回复顺序,作如下说明。编号消息名称消息说明1HttpServletRequest浏览器发来的 HttpServletRequest 请求2ActionForm通过 ActionForm获取 Struts 加载的页面表单数据3Exectule根据struts-config.xml配置调用指定的Action指定的方法处理请求4ActionForm.getXxx()通过 ActionForm获取页面表单数据5Service Method调用业务逻辑6Import使用 Pojo 进行数据操作7Dao Method调用 Dao 方法,执行数据库操作8Return result返回 Dao 执行结果,给 Service9Return result返回 Business 执行结果,给 Action10ActionForward.findForwardAction返回执行结果给新的画面 (Struts-Config.xml配置)11HttpServletResponseMappingDispatchAction 返回处理结果给浏览器6域模型设计6.1视图层设计参看界面设计标准6.2控制层设计6.2.1类图6.2.2类图描述HumanAction类方法名功能描述参数和返回值异常处理inAddHuman添加员工档案ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionaddHuman添加员工相片ExceptionmanagerHuman打开员工管理界面,并将所有员工信息显示在页面上ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninUpdateHuman修改员工档案时,初始化添加页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionupdateHuman修改员工档案ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeleteHuman删除员工ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionmanagerHumanForReport打开员工管理界面,并将所有员工信息显示在页面上,用于导出数据ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionhumanForReport导出单个人的数据ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionhumanForReportAll导出所有人的数据ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioncteateCell设置Excel中每列的值和样式HSSFWorkbook wb, HSSFRow row, short col, String valExceptionhumanSchoolingReport图形报表ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionOperatorAction类方法名称说明参数和返回值异常login登录验证ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionopenPage打开页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionmanagerRole角色管理ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninAddRole打开角色添加页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionaddRole添加角色ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninUpdateRole进入更新权限ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionupdateRole更新权限ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeleteRole删除角色ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionmanagerOperator打开操作员管理界面,并将所有操作员信息显示在页面上ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninAddOperator初始化操作员管理页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionaddOperator添加操作员ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeleteOperator删除操作员ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninUpdateOperator初始化更新操作员页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response)ExceptionupdateOperator更新操作员页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionupdatepassword更改密码ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionOrganAction类方法名说明参数和返回值异常loadOrgan加载所有机构ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionaddOrgan添加机构ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeleteOrgan删除机构,删除机构只需将其父节点设为null即可ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionupdateOrgan更新机构名称ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondragOrgan拖拽机构ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionPayAction类方法名说明参数和返回者异常managerPay打开工资管理界面,并将所有工资信息显示在页面上ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionpayReport将工资信息导出ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioncteateCell设置Excel中每列的值和样式HSSFWorkbook wb, HSSFRow row, short col, String valExceptionPropertyAction类方法名说明参数和返回值异常initProperty获取所有的公共属性ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninAddProperty进入添加公共属性值页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionaddProperty添加公共属性值ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeleteProperty删除公共属性值ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionupdateProperty修改公共属性值ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninUpdateProperty进入修改公共属性值页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionResourceService类方法名说明参数和返回值异常loadResource添加角色时,初始化资源树ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeployTree修改角色时,初始化资源树ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionStipendAction类方法名说明参数和返回值异常initStipendManager进入薪酬管理模块ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninAddStipend进入添加薪酬标准页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionaddStipend添加薪酬标准ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptiondeleteStipend删除薪酬标准ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptioninUpdateStipend进入修改薪酬标准页面ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseExceptionupdateStipend修改薪酬标准ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse responseException6.3业务层设计6.3.1类图6.3.2类图描述6.4持久层设计6.4.1类图6.4.2类图描述CommonPropertyDao类方法名称功能说明参数和返回值异常selectAllCommonProperty查询所有公共属性值无无getCommonProperty根据id查询int id无getCommonPropertyWithOutId查询int propertyid无getCommonPropertyByName根据名字查询String propertyName无CommonPropertyValueDao类方法名称功能说明参数和返回值异常selectAllCommonPropertyValue查询出所有公共属性无selectCommonPropertyValueByPager回调函数,数据分页final Pager pager无selectCommonPropertyValueCount数据总行数无addOrDeleteOrUpdateCommonPropertyValue添加、修改、删除Commonpropertyvalue cpv无getCommonPropertyValue根据id查询int id无selectCommonPropertyValueByName添加时保障数据的不重复Commonpropertyvalue cpv无selectCommonPropertyValueByNameWithOutCurr修改时保障数据的不重复Commonpropertyvalue cpv无getCommonPropertyValueBypropertyid添加员工档案时,读取公共属性信息int propertyid无getCommonPropertyValueBypropertyid查询int propertyid, String value无HumanDao类方法名称功能说明参数和返回值异常addHuman添加员工信息Human humanselectHumanByPager回调函数,数据分页final Pager pagerselectHumanByPager回调函数,数据分页,带有查询参数final Pager pager, final String nameselectHumanCount数据总行数selectHumanCount数据总行数,带有查询参数String nameupdateHuman更新员工信息Human humanselectHumanById根据id查询档案信息int idselectAllHuman查询出要发放工资的所有员工selectHumanBySchoolingCount查询出不同学历对应的人数String schoolingOperatorDao类方法名称功能说明参数和返回值异常selectOperatorByNameAndPassword登陆Operator operatorselectOperatorByName添加操作员时,查询是否有相同登录名的操作员Operator operatorselectOperatorByNameWitchOutCurr修改操作员时,查询是否有相同登录名的操作员Operator operatoraddOrDeleteOrUpdateOperator添加,删除,修改操作员Operator operatorselectOperatorById根据id查询操作员Operator operatorselectOperatorByPager回调函数,数据分页final Pager pagerselectOperatorCount数据总行数OrganDao类方法名功能说明参数和返回值异常selectOrganById根据id查询组织机构int idaddOrgan添加组织机构Organ organupdateOrgan修改组织机构Organ organselectOrganByName根据名字查询组织机构Organ organselectOrganByNameWithOutCurr查询Organ organPayDao类方法名称功能说明参数和返回值异常addPay添加工资报表Pay payselectPayByPager回调函数,数据分页final Pager pager, final String starttime, final String endtimeExceptionselectPay回调函数,数据分页final String starttime, final String endtimeExceptionselectPayCount数据总行数String starttime, Str

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论