Õª Òª
ÈËʹÜÀíÊÇÆóÒµ¹ÜÀí¹¤×÷Öв»¿É»òȱµÄ²¿·Ö£¬´«Í³µÄÈËʹÜÀí¹¤×÷ÖУ¬¶ÔÔ±¹¤ºÍ²¿ÃŵIJéѯ¸Ä¶¯¹¤×÷£¬²Ù×÷±È½Ï·±Ëö£¬ÇÒЧÂʵÍÏ¡£Èç½ñ£¬½èÖúÓÚInternet,ʵÏÖÈËʹÜÀíÐÅÏ¢»¯,Õâ²»½ö¶ÔÈËʹÜÀí¹¤×÷µÄ˳Àû½øÐоßÓлý¼«µÄ×÷Ó㬶øÇÒ¶ÔÆóÒµÐÅÏ¢»¯µÄ½¨ÉèÒ²ÓкܴóÒâÒå¡£ ±¾ÈËʹÜÀíϵͳʹÓÃStruts2£¬SpringºÍHibernate½øÐÐÕûºÏ¿ª·¢£¬ÒÔMVC·Ö²ã˼ÏëΪÔÔò£¬Ç°¶ËÒ³ÃæÏÔʾ²ÉÓÃJSP£¬ºǫ́Êý¾Ý¿â²ÉÓÃMySQL¡£Õë¶ÔÖÐСÐÍÆóÊÂÒµ¶ÔÈËʹÜÀíµÄÐèÇ󣬱¾ÏµÍ³ÊµÏÖÁË»ùÓÚ½ÇÉ«·ÃÎÊ¿ØÖÆRBACµÄȨÏÞ¹ÜÀíÒÔ¼°¶ÔÔ±¹¤£¬²¿ÃÅ£¬Ö°Î»£¬¿¼ÇÚ£¬½±³Í£¬ÅàѵºÍ¸öÈËÐÅÏ¢µÄ¹ÜÀí£¬ÓÐЧµÄʵÏÖÁË·½±ã¿ì½ÝµÄÈËʹÜÀí£¬¼õÇáÁ˹ÜÀíÈËÔ±µÄ¹¤×÷Á¿£¬Ìá¸ßÁ˹ÜÀíÈËÔ±µÄ¹¤×÷ЧÂÊÓ빤×÷ÖÊÁ¿¡£ ÓëÆäËûÈËʹÜÀíϵͳ¿ª·¢Ê¹ÓÃxmlÅäÖÃÏà±È£¬±¾ÏµÍ³Ê¹ÓÃÈ«AnnotationµÄÅäÖÿª·¢£¬Ê¹µÃ´úÂë¼ò½à£¬ÏµÍ³¿ª·¢ºÍά»¤¸üЧÂÊ£¬ÒòΪϵͳȨÏÞµÄÉèÖÃÊÇ»ùÓÚ½ÇÉ«µÄ·ÃÎÊ¿ØÖÆRBACµÄ£¬È·±£ÁËÈËʹÜÀíϵͳ¶ÔÓÚ°²È«ÐԺͱ£ÃÜÐÔµÄÒªÇó¡£ Í¬Ê±£¬±¾ÏµÍ³ÔÚÐÔÄÜ·½ÃæÒ²×öÁËÓÅ»¯£¬½¨Á¢ÁËÊý¾Ý¿âÁ¬½Ó³Ø£¬Äܹ»ÓÐЧµÄ·ÀÖ¹Òò²¢·¢·ÃÎÊÁ¿´ó¶øµ¼ÖÂϵͳ±ÀÀ£µÄ¾ÖÃæ·¢Éú£¬Ê¹ÏµÍ³µÄÎȶ¨ÐԺͰ²È«ÐԵõ½Á˱£Ö¤¡£
¹Ø¼ü×Ö£ºÈËʹÜÀí£»MVC£»Struts2£»Spring£»Hibernate£»RBAC Abstract
The personnel management is the enterprise management and indispensable part of the work, the personnel management in transmission, employees and department inquires work changes, the operation is more tedious, and the efficiency is low.Now,By Internet, realizing the personnel management informatization, has the positive effect not only to the personnel management work smoothly, but also have great significance for the construction of enterprise information. This Personnel management system uses the Struts2, Spring and Hibernate integration and development,the principle of MVC hierarchical thinking,to the front page using the JSP back-end database using MySQL.For the needs of small and medium-sized enterprises for personnel management, This system implements role-based access control RBAC permissions management and staff, department, position, time and attendance, incentives, training and personal information management,effective to achieve a convenient and efficient personnel management,and it reduces the workload of the personnel management staff,improves the administrator productivity and work quality. Compared to the development and usage of xml configuration for other Personnel Management System,the system uses whole Annotation configuration development and concise code,which make the system development and maintenance more efficiency, because the permission settings of this system is role-based access control RBAC,to ensure management system with the security and confidentiality requirements. The same time,the system made in terms of performance has been optimized to establish a database connection pool ,which can effectively prevent the situation to cause a system crash due to concurrent access of large amount of stability and make the system security guaranteed.
Key Word: Personnel Management;Struts2;Spring;Hibernate;RBAC Ä¿ ¼ 1 Ð÷ÂÛ 1 1.1 ¿ª·¢Ä¿µÄ 1 1.2 ¿ª·¢ÒâÒå 2 1.3 ÂÛÎĵÄÖ÷ÒªÄÚÈÝ 2 2 ¿ÉÐÐÐÔ·ÖÎö 3 2.1 ϵͳ¹¤×÷Á÷³Ì·ÖÎö 3 2.2 ϵͳ¿ÉÐÐÐÔÑо¿ 3 2.2.1 ¼¼Êõ¿ÉÐÐÐÔ 3 2.2.2 ¾¼Ã¿ÉÐÐÐÔ 3 2.2.3 Éç»á¿ÉÐÐÐÔ 3 2.2.4 ¿ÉÐÐÐÔÑо¿½áÂÛ 4 3 ÐèÇó·ÖÎö 5 3.1 ÐèÇó·ÖÎö¸ÅÊö 5 3.2 ¿ª·¢Òâͼ 5 3.3 ¹¦ÄÜÐèÇó 5 3.4 ÐÔÄÜÐèÇó 6 4 ϵͳÉè¼Æ 8 4.1 ϵͳÉè¼ÆµÄ×ÜÌå˼Ïë 8 4.1.1 ³ÌÐòÄ£¿é»¯ 8 4.1.2 Êý¾Ý³Ö¾Ã»¯ 8 4.1.3 ϵͳÉè¼ÆµÄģʽ 8 4.2 ϵͳµÄ¼Ü¹¹Éè¼Æ 9 4.3 ϵͳµÄÄ£¿éÉè¼Æ 10 4.4 ϵͳҵÎñÁ÷³Ìͼ 11 5 ¿ª·¢Æ½Ì¨ºÍϵͳÁÁµã¼ò½é 12 5.1 ϵͳÅäÖùý³Ì 12 5.2 ¼¼ÊõÁÁµã 12 5.2.1 ȫע½âµÄÅäÖà 12 5.2.2 »ùÓÚ½ÇÉ«µÄ·ÃÎÊ¿ØÖÆ 13 6 Êý¾Ý¿âÉè¼Æ 14 6.1 Êý¾Ý¿â¸ÅÄîÉè¼Æ 14 6.1.1 ʵÌåºÍÊôÐԵĶ¨Òå 14 6.1.2 ϵͳE-Rͼ 16 6.2 Êý¾Ý¿âÂß¼Éè¼Æ 16 6.2.1 Ô±¹¤ÐÅÏ¢±í(user) 16 6.2.2 ²¿ÃÅÐÅÏ¢±í(department) 17 6.2.3 ְλÐÅÏ¢±í(role) 17 6.2.4 ½±³ÍÐÅÏ¢±í(goodbad) 17 6.2.5 ÅàѵÐÅÏ¢±í(train) 18 6.2.6 ¿¼ÇÚÐÅÏ¢±í(worklog) 18 7 ϵͳʵÏÖ 19 7.1 ϵͳµÇ¼ҳ 19 7.2 ϵͳÖ÷½çÃæ 20 7.3 ÆóÒµÓʼþ¹ÜÀí 20 7.4 ¿¼ÇÚ¹ÜÀí 23 7.4.1 ÉÏ°àÇ©µ½ 23 7.4.2 Ï°àÇ©ÍË 24 7.4.3 ¿¼Çڲ鿴 25 7.5 ×éÖ¯¹ÜÀí 27 7.5.1 ²¿ÃŹÜÀí 27 7.5.2 ÐÂÔö²¿ÃÅÐÅÏ¢ 27 7.5.3 ְλ¹ÜÀí 28 7.5.4 ÐÂÔöְλÐÅÏ¢ 29 7.5.5 Ô±¹¤¹ÜÀí 29 7.5.6 ÐÂÔöÔ±¹¤ÐÅÏ¢ 30 7.6 ÊÂÏî¹ÜÀí 31 7.6.1 ÅàѵÐÅÏ¢ 31 7.6.2 Ìí¼ÓÅàѵÐÅÏ¢ 31 7.6.3 ½±³ÍÐÅÏ¢ 32 7.6.4 Ìí¼Ó½±³ÍÐÅÏ¢ 32 7.7 ¸öÈ˹ÜÀí 33 7.7.1 ²é¿´¸öÈËÐÅÏ¢ 33 7.7.2 Ð޸ĸöÈËÐÅÏ¢ 34 7.7.3 Ð޸ĸöÈËÃÜÂë 34 7.7.4 °²È«Í˳öϵͳ 35 8 ϵͳѹÁ¦²âÊÔ 36 8.1 ²âÊÔ³¡¾° 36 8.2 Ïß³Ì×éÅäÖà 36 8.3Ä£Äâ·ÃÎÊÇëÇóÅäÖà 37 8.4¼ÖƵǼ½Å±¾ 37 8.5²âÊÔ½á¹û 39 ½áÊøÓï 41 ²Î¿¼ÎÄÏ× 42 Ö л 43
1 Ð÷ÂÛ ÔÚ´«Í³µÄÆóÒµÈËʹÜÀíÖУ¬Ô±¹¤ÐÅÏ¢¹ÜÀí¡¢½±³Í¹ÜÀíºÍÅàѵ¹ÜÀíµÈ³¤ÆÚÒÔÀ´Ò»Ö±²ÉÓÃÈ˹¤¹ÜÀí£¬µ«Ëæ×ÅÍøÂçÐÅÏ¢µÄ¿ìËÙ·¢Õ¹£¬ÔÚȫеÄÊг¡¾ºÕù»·¾³ÖУ¬ÆóÒµ¹ÜÀíºÍÔËӪЧÂÊÒѾ³ÉΪÆóÒµ³É°ÜµÄ¹Ø¼üËùÔÚ£¬È˹¤·½Ê½µÄ±×¶Ë±ÏÏÖÎÞÒÉ¡£Ëæ×ÅÈËʹÜÀíÐÅÏ¢µÄ²»¶ÏÔö¼Ó£¬¶ÔÐÅÏ¢µÄ´¦Àí¹â¿¿È˹¤²Ù×÷¡¢´óÄÔ¼ÇÒäµÄ´«Í³·½Ê½ÒѲ»ÄÜÊÊÓ¦ÈËʵĹÜÀíÐèÒª£¬Õâ¾ÍÒªÇóÈËʹÜÀí°ÚÍѹýÈ¥È˹¤²Ù×÷µÄ·±Ëö¡£Òò´Ë£¬ÈËʹÜÀíÆÈÇÐÐèÒª×Ô¶¯»¯ÐÅÏ¢´¦ÀíÊÖ¶ÎÀ´´¦Àí¸÷ÖÖÐÅÏ¢¡£ 1.1 ¿ª·¢Ä¿µÄ ±¾ÈËʹÜÀíϵͳÊÇרΪÖÐСÆóÒµµÄÈËʹÜÀí¶øÉè¼ÆµÄ£¬¿ÉÒÔΪÖÐСÆóÒµÄËÖÁÖÐСÉ̵êµÄÈËʹÜÀíÌṩ½ÏΪ¿ÆѧµÄ¹ÜÀíÄ£ÐÍ£¬ÄÜÓÐЧµÄ´Ù½øÖÐСÆóÒµµÄÈËʹÜÀí¹¤×÷ЧÂʵÄÌá¸ß£¬ÓüÆËã»úÐÅÏ¢¹ÜÀíµÄ·½·¨ÊµÏÖ¶ÔÈËÊÂÐÅÏ¢µÄ¹ÜÀí¡£ ¿ª·¢ÏµÍ³µÄÒ»¸öÄ¿µÄÊÇÕë¶ÔÄ¿Ç°ÆÕ±éµÄÖÐСÆóÒµÈËʹÜÀíϵͳ´æÔڵŦÄܲ»È«£¬²Ù×÷¸´ÔÓ£¬ÏµÍ³ÒªÇó¸ßµÈһϵÁÐÎÊÌâ¡£¸Ã¹ÜÀíϵͳ²ÉÓûùÓÚB/S ¼Ü¹¹µÄÉè¼Æģʽ£¬¿É¿¿£¬·½±ã£¬²¢ÇÒ¹¦ÄÜÆëÈ«¡£ ¿ª·¢ÏµÍ³µÄÁíÒ»¸öÄ¿µÄÊÇʹÆä¾ßÓÐÇ¿´óµÄʵÓüÛÖµ£¬¼´Ëü¿ÉÒÔÂú×ãÖÐСÐÍÆóÒµµÄÈËʹÜÀíÐèÒª£¬ÓÖÄܼ¯Öд¦ÀíÈËʹÜÀíÐÅÏ¢µÄ±ä¶¯£¬ÎªÆóÒµµÄµ÷Õû·¢Õ¹´´ÔìÒ»¸öеÄÌõ¼þ¡£
|