人事管理系统-源代码说明

人事管理系统-源代码说明

ID:41791896

大小:59.74 KB

页数:15页

时间:2019-09-02

人事管理系统-源代码说明_第1页
人事管理系统-源代码说明_第2页
人事管理系统-源代码说明_第3页
人事管理系统-源代码说明_第4页
人事管理系统-源代码说明_第5页
资源描述:

《人事管理系统-源代码说明》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、东莞理工学院城市学院CITYCOLLEGEOFDGUT人事管理系统设计与实现源代码说明书VersionL010May2015版本及修订记录版本日期描述作者1.02015-5-10第一个版本谢海钊文档信息文档号:A0002发行:V授权:东莞理工学院城市学院〉创建日期:2015-05-10目录1引言11.1编写目的12程序目录结构13关键代码13.1部门管理3.2岗位职务管理错误!未定义书签。3.3人员管理103.4人事档案管理113.5绩效考核1引言1・1编写目的编写此文档的目的在于为以后的修改提供依据。2程序目录结构1)hr.ac

2、tion各模块请求处理代码2)hr.dao各模块数据访问层代码3)hr.service-各模块月艮务层代码4)hr.entity各模块实体类代码5)modal.hr前台界面代码3关键代码3・1部门管理氐packagecn.edu.pzxx.scampus.hcaction;importjava.io.IOException;[]@Component@ParentPackage(MmyDefaultM)@Namespace('7hrM)@Scope("prototype")@Action(value=MdeptActionM)@Re

3、sults(value={@Result(name=MtoStatisticalGetDeptM,location="/modal/hr/statisticalGetDept.@Result(name=MtoGetDpet'location=M/modal/hr/getDept.jspM)@Result(name=ntoAddDepflocation="Vmoda1/hr/addDept.jsp')@Result(name=MdeptListMlocation="/modal/hr/manageDept.jsp")f@Resu

4、lt(name=wsaveSuccess"location=w/modal/hr/addDept.jspw)@Result(name=MtoEdit,'Jlocation=M/modal/hr/editDept.jsp11),@Result(name=',refresh,location=M/modal/hr/manageDept.jsp')}):publicclassDeptActionextendsBaseAction{@AutowiredprivateDeptServicedeptService;@Autowiredpr

5、ivateDeptServicedeptService;publicDeptSewicegetDeptService(){returndeptService;t}publicvoidsetDeptService(DeptServicedeptService){this.deptService=deptService;}//部门实体privateDepartmentdept;publicDepartmentgetDept(){returndept;}publicvoidsetDept(Departmentdept){this.dep

6、t=dept;publicvoidsetDept(Departmentdept){this.dept=dept;}/刷新publicStringrefresh(){ListdeptList=this.deptService.getAllDeptlnfo();this•getSessior)()•setAttribute(HallDeptLis^M,deptList);returnMrefresh,f;}/refreshEND^throwsIOException/publicStringsave()throwsI

7、OException{try{dept.setCreateDate(newDate());this.deptService.save(dept);this•getResponse()•getWriter()•write(Msuccess11);}catch(Exceptione){this・getResponse().getWriter().writeC'error1);}returnnull;}/saveEND/刑除刼门信息/IpublicStringdeleteDept(){try{this•deptService•delet

8、eTeacher(dept.getld());this•deptService•delete(dept);Listdeptlnfo=this•deptService•getTeacherDept(dept.getld());if

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。